1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

addr2line.c: minimal workaround to prevent parse error

"//*" is super dangerous for non-C++ compiler.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65160 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
shyouhei 2018-10-19 02:01:46 +00:00
parent c102e5e0ea
commit ad564b87ad

View file

@ -1117,7 +1117,7 @@ debug_info_reader_read_value(DebugInfoReader *reader, uint64_t form, DebugInfoVa
break;
case DW_FORM_strp_sup:
set_uint_value(v, read_uint(reader));
//*p = reader->sup_file + reader->sup_str->sh_offset + ret;
/* *p = reader->sup_file + reader->sup_str->sh_offset + ret; */
break;
case DW_FORM_data16:
v->size = 16;
@ -1126,7 +1126,7 @@ debug_info_reader_read_value(DebugInfoReader *reader, uint64_t form, DebugInfoVa
break;
case DW_FORM_line_strp:
set_uint_value(v, read_uint(reader));
//*p = reader->file + reader->line->sh_offset + ret;
/* *p = reader->file + reader->line->sh_offset + ret; */
break;
case DW_FORM_ref_sig8:
set_uint_value(v, read_uint64(&reader->p));