diff options
-rw-r--r-- | ./workflows/compilers.yml | 1 | ||||
-rw-r--r-- | debug.c | 231 | ||||
-rw-r--r-- | vm_debug.h | 73 |
3 files changed, 305 insertions, 0 deletions
@@ -116,6 +116,7 @@ jobs: - { key: cppflags, name: USE_SYMBOL_GC=0, value: '-DUSE_SYMBOL_GC=0' } - { key: cppflags, name: USE_THREAD_CACHE=0, value: '-DUSE_THREAD_CACHE=0' } - { key: cppflags, name: USE_TRANSIENT_HEAP=0, value: '-DUSE_TRANSIENT_HEAP=0' } - { key: cppflags, name: DEBUG_FIND_TIME_NUMGESS, value: '-DDEBUG_FIND_TIME_NUMGESS' } - { key: cppflags, name: DEBUG_INTEGER_PACK, value: '-DDEBUG_INTEGER_PACK' } @@ -25,6 +25,7 @@ #include "vm_core.h" #include "vm_debug.h" #include "vm_callinfo.h" /* This is the only place struct RIMemo is actually used */ struct RIMemo { @@ -243,8 +244,238 @@ set_debug_option(const char *str, int len, void *arg) } } void ruby_set_debug_option(const char *str) { ruby_each_words(str, set_debug_option, 0); } @@ -30,4 +30,77 @@ void ruby_set_debug_option(const char *str); RUBY_SYMBOL_EXPORT_END #endif /* RUBY_DEBUG_H */ |