summaryrefslogtreecommitdiff
path: root/addr2line.c
diff options
context:
space:
mode:
authorshyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-10-19 02:01:46 (GMT)
committershyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-10-19 02:01:46 (GMT)
commitad564b87ad0f0a6a022365e2c3d3c0d849109567 (patch)
tree043c8a9bb77061292366898ea3e4597d3dce0de8 /addr2line.c
parentc102e5e0ea5965915e73427845446501d66ea905 (diff)
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
Diffstat (limited to 'addr2line.c')
-rw-r--r--addr2line.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/addr2line.c b/addr2line.c
index 33701de..c073154 100644
--- a/addr2line.c
+++ b/addr2line.c
@@ -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));