summaryrefslogtreecommitdiff
path: root/dyninst-12.1.0-dwarf.patch
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-08-05 01:51:29 +0000
committerCoprDistGit <infra@openeuler.org>2024-08-05 01:51:29 +0000
commit4601abbd990c9d7aab2ca0f015789048f19fbea8 (patch)
tree2702f7e048c83b5f09e041c2aed84dda139ff599 /dyninst-12.1.0-dwarf.patch
parent57d7187e7b160ccb308b94ddf1a15f03313f1e7f (diff)
automatic import of dyninstopeneuler24.03_LTS
Diffstat (limited to 'dyninst-12.1.0-dwarf.patch')
-rw-r--r--dyninst-12.1.0-dwarf.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/dyninst-12.1.0-dwarf.patch b/dyninst-12.1.0-dwarf.patch
new file mode 100644
index 0000000..a01b2cf
--- /dev/null
+++ b/dyninst-12.1.0-dwarf.patch
@@ -0,0 +1,11 @@
+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.1.0/symtabAPI/src/dwarfWalker.C.orig 2021-04-08 16:48:12.000000000 -0400
++++ dyninst-12.1.0/symtabAPI/src/dwarfWalker.C 2021-04-27 12:48:55.643978425 -0400
+@@ -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()));
+