Bug #17052 » ruby-addr2line-DW_FORM_ref_addr.patch
addr2line.c | ||
---|---|---|
set_uint_value(v, read_uleb128(reader));
|
||
break;
|
||
case DW_FORM_ref_addr:
|
||
if (reader->address_size == 4) {
|
||
if (reader->format == 4) {
|
||
set_uint_value(v, read_uint32(&reader->p));
|
||
} else if (reader->address_size == 8) {
|
||
} else if (reader->format == 8) {
|
||
set_uint_value(v, read_uint64(&reader->p));
|
||
} else {
|
||
fprintf(stderr,"unknown address_size:%d", reader->address_size);
|
||
fprintf(stderr,"unknown format:%d", reader->format);
|
||
abort();
|
||
}
|
||
break;
|