https://sourceware.org/bugzilla/show_bug.cgi?id=29192
Bug ID: 29192
Summary: addr2line suspected incompatibility with DWARF5
Product: binutils
Version: 2.38
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: binutils
Assignee: unassigned at sourceware dot org
Reporter: ofekshilon at gmail dot com
Target Milestone: ---
==========Example:
$ cat toy.cpp
#include <iostream>
int main() {
std::cout << "hello world";
return 0;
}
$ clang-14 -g -stdlib=libc++ -lc++ -I/usr/lib/llvm-14/include/c++/v1 toy.cpp -o
toy14
$ addr2line -fe ./toy 0x1234
addr2line: DWARF error: invalid or unhandled FORM value: 0x25
main
??:?
=========end example
According to the dwarf5 spec (https://dwarfstd.org/doc/DWARF5.pdf), section
7.5.6 page 221, 0x25 is a valid DW_FORM value:
DW_FORM_strx1 ‡ 0x25 string.
In other cases (not yet reduced to a small repro) we see:
addr2line: Dwarf Error: Could not find abbrev number 127
--
You are receiving this mail because:
You are on the CC list for the bug.