diff options
author | Maxime Chevalier-Boisvert <[email protected]> | 2023-02-02 16:54:16 -0500 |
---|---|---|
committer | <[email protected]> | 2023-02-02 16:54:16 -0500 |
commit | 73674cac2bbb2616a182305f4719844c59816e21 () | |
tree | 2fff89fff390860ba7ea3b5f4919e91499ed06b1 /yjit/bindgen/src/main.rs | |
parent | 92ac5f686b72942c9709a8f3e07f45f6a44ebc6b (diff) |
YJIT: log the names of methods we call to in disasm (#7231)
* YJIT: log the names of methods we call to in disasm * Assert that pointer is not null * Handle case where UTF8 conversion not possible
Notes: Merged-By: maximecb <[email protected]>
-rw-r--r-- | yjit/bindgen/src/main.rs | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -77,6 +77,9 @@ fn main() { // From encindex.h .allowlist_type("ruby_preserved_encindex") // This struct is public to Ruby C extensions // From include/ruby/internal/core/rbasic.h .allowlist_type("RBasic") @@ -202,6 +205,7 @@ fn main() { // From include/ruby/internal/symbol.h .allowlist_function("rb_intern") .allowlist_function("rb_id2sym") .allowlist_function("rb_sym2id") .allowlist_function("rb_str_intern") |