| Summary: | Warning: DWARF2 CFI reader: unhandled DW_OP_ opcode 0x13 (DW_OP_drop) | ||
|---|---|---|---|
| Product: | [Developer tools] valgrind | Reporter: | Nikos Chantziaras <realnc> |
| Component: | general | Assignee: | Julian Seward <jseward> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | mark |
| Priority: | NOR | ||
| Version First Reported In: | 3.15 SVN | ||
| Target Milestone: | --- | ||
| Platform: | Gentoo Packages | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Nikos Chantziaras
2018-12-18 22:41:36 UTC
That is DW_OP_drop which indeed isn't implemented. But should be trivial to:
diff --git a/coregrind/m_debuginfo/readdwarf.c b/coregrind/m_debuginfo/readdwarf.c
index 70ab16d67..3b7449a5b 100644
--- a/coregrind/m_debuginfo/readdwarf.c
+++ b/coregrind/m_debuginfo/readdwarf.c
@@ -2853,6 +2853,12 @@ static Int dwarfexpr_to_dag ( const UnwindContext* ctx,
VG_(printf)("DW_OP_deref");
break;
+ case DW_OP_drop:
+ POP( ix );
+ if (ddump_frames)
+ VG_(printf)("DW_OP_drop");
+ break;
+
default:
if (!VG_(clo_xml))
VG_(message)(Vg_DebugMsg,
Does that help?
That does indeed help. Warning is gone. Thanks for testing. Lets just push this: commit e4dde1327e1ca1868aabf2b89bc818d37864e3cc Author: Mark Wielaard <mark@klomp.org> Date: Wed Dec 19 20:14:03 2018 +0100 PR402327 Warning: DWARF2 CFI reader: unhandled DW_OP_ opcode 0x13 DW_OP_drop readdwarf.c (dwarfexpr_to_dag) didn't handle DW_OP_drop. Implement it by simply popping the last element on the stack. |