Implement DW_OP_{bregx,consts,const8s,const8u,constu} in dwarfexpr_to_dag
commit9dd5db3cb1c46c50d29bf11a495a77e2669b847a
authorMark Wielaard <mark@klomp.org>
Sun, 1 Oct 2023 22:37:24 +0000 (2 00:37 +0200)
committerMark Wielaard <mark@klomp.org>
Sun, 1 Oct 2023 22:52:46 +0000 (2 00:52 +0200)
tree9487d9adf7d841504ca530d5b2ef9b0b00f03e30
parenta82d6201eaf0324cd71f85d688af9fd8a084a705
Implement DW_OP_{bregx,consts,const8s,const8u,constu} in dwarfexpr_to_dag

readdwarf.c (dwarfexpr_to_dag) didn't hanle various DW_OP expressions
causing Warning: DWARF2 CFI reader: unhandled DW_OP_ opcode and errors
m_debuginfo/readdwarf.c:2822 (copy_convert_CfiExpr_tree): Assertion
'srcix >= 0 && srcix < VG_(sizeXA)(srcxa)' failed.

Implement DW_OP_bregx and DW_OP_consts as reported in bug #461074.
Also add implementations for DW_OP_const8s, DW_OP_const8u and
DW_OP constu.

https://bugs.kde.org/show_bug.cgi?id=461074
NEWS
coregrind/m_debuginfo/readdwarf.c