summaryrefslogtreecommitdiff
path: root/dyninst-12.1.0-dwarf.patch
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-08-01 14:38:24 +0000
committerCoprDistGit <infra@openeuler.org>2024-08-01 14:38:24 +0000
commit7251eaa2c0407bd2ae40b488c8ba6159bc6a91c8 (patch)
tree2702f7e048c83b5f09e041c2aed84dda139ff599 /dyninst-12.1.0-dwarf.patch
parent17d612cc1a22e679ed21beca4954e91b0df877bf (diff)
automatic import of dyninstopeneuler24.03_LTSopeneuler23.09
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()));
+