diff options
| author | Peter Zhu <peter@peterzhu.ca> | 2024-10-07 10:47:30 -0400 |
|---|---|---|
| committer | Peter Zhu <peter@peterzhu.ca> | 2024-10-07 10:47:30 -0400 |
| commit | a6cf1324759a64d43ca9707c20316cf681038240 (patch) | |
| tree | bd198940c78c2d7d2c52399299a8d00dd3787ca1 | |
| parent | fa547b809aba50da72c9145904b5605481fdce3e (diff) | |
Revert "Add debugging code to vm_objtostring in ASAN"
This reverts commit c32fd1b5ed6709dfbed3d19cac881886576e231b.
The bug seems to have been fixed with 6acf03618a937f5302fbd3043f9c3420a49f8cb3.
| -rw-r--r-- | vm_insnhelper.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/vm_insnhelper.c b/vm_insnhelper.c index bd616b2422..543f31a3b1 100644 --- a/vm_insnhelper.c +++ b/vm_insnhelper.c @@ -6056,13 +6056,6 @@ VALUE rb_mod_name(VALUE); static VALUE vm_objtostring(const rb_iseq_t *iseq, VALUE recv, CALL_DATA cd) { - // Debugging code for ASAN issues such as: - // http://ci.rvm.jp/logfiles/brlog.trunk_asan.20240922-002945 - if (!RB_IMMEDIATE_P(recv) && asan_poisoned_object_p(recv)) { - asan_unpoison_object(recv, false); - rb_bug("vm_objtostring: recv is poisoned (type %d)", TYPE(recv)); - } - int type = TYPE(recv); if (type == T_STRING) { return recv; |
