summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Zhu <[email protected]>2024-09-23 11:56:29 -0400
committerPeter Zhu <[email protected]>2024-09-25 11:00:04 -0400
commitc32fd1b5ed6709dfbed3d19cac881886576e231b ()
tree22cf470fdcf96daba881851a77e0b67f7a20e65b
parentecbc4a67c973f512a5876c44efc2ec03ad92b1b6 (diff)
Add debugging code to vm_objtostring in ASAN
To debug this issue on CI: http://ci.rvm.jp/logfiles/brlog.trunk_asan.20240922-002945
Notes: Merged: https://.com/ruby/ruby/pull/11667
-rw-r--r--vm_insnhelper.c7
1 files changed, 7 insertions, 0 deletions
@@ -6056,6 +6056,13 @@ VALUE rb_mod_name(VALUE);
static VALUE
vm_objtostring(const rb_iseq_t *iseq, VALUE recv, CALL_DATA cd)
{
int type = TYPE(recv);
if (type == T_STRING) {
return recv;