[Dwarf-Discuss] dwarfdump libdwarf on mach-o and PE object file DWARF.

David Anderson davea42@linuxmail.org
Mon Dec 10 22:20:26 GMT 2018


dwarfdump/libdwarf can work on mach-o dsym objects and
on gcc-generated DWARF in PE objects (as well as Elf objects), but
one has to get the latest from sourceforge. See
 https://www.prevanders.net/dwarf.html

None of the released libdwarf '*.tar.gz' versions have such support
at this time.

Building libdwarf/dwarfdump under mingw on Windows the gcc CFLAGS
 -DHAVE_WINDOWS_H -DHAVE_NONSTANDARD_PRINTF_64_FORMAT
 -fno-dwarf2-cfi-asm
seem to be essential (and have at least worked for one person).

David Anderson



More information about the Dwarf-discuss mailing list