dyninst/dwarf-error.patch
2022-02-07 17:01:36 -05:00

12 lines
496 B
Diff

Remove extraneous error messages of the form:
err message: .debug_loclists section missing
err message: invalid DWARF
which are repeated in some circumstances without adding useful context
--- dyninst-12.0.1/symtabAPI/src/dwarfWalker.C
+++ dyninst-12.0.1/symtabAPI/src/dwarfWalker.C
@@ -1858,1 +1858,1 @@
- cerr << "err message: " << dwarf_errmsg(dwarf_errno()) << endl;
+ dwarf_printf("(0x%lx) Error while decoding location: %s\n", id(), dwarf_errmsg(dwarf_errno()));