SUMMARY Running GTK or Qt in Valgrind prints the following warning: --2646-- Warning: DWARF2 CFI reader: unhandled DW_OP_ opcode 0x13 SOFTWARE/OS VERSIONS Linux/KDE Plasma: Gentoo Linux AMD64 KDE Plasma Version: 5.14.4 KDE Frameworks Version: 5.53.0 Qt Version: 5.11.3
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.