https://bugs.kde.org/show_bug.cgi?id=461074

Mark Wielaard <m...@klomp.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|CONFIRMED                   |RESOLVED
         Resolution|---                         |FIXED
            Summary|valgrind:                   |DWARF2 CFI reader:
                   |m_debuginfo/readdwarf.c:239 |unhandled DW_OP_ opcode
                   |6                           |0x11 (consts) and DW_OP_
                   |(copy_convert_CfiExpr_tree) |opcode 0x92 (bregx)
                   |: Assertion 'srcix >= 0 &&  |
                   |srcix < VG_(sizeXA)(srcxa)' |
                   |failed.                     |

--- Comment #10 from Mark Wielaard <m...@klomp.org> ---
Thanks, that implementation of DW_OP_bregx is almost literally the same as what
I came up with.
I also implemented DW_OP_consts, which was reported in comment #1. And
DW_OP_const8s,
DW_OP_const8u and DW_OP_constu since they are fairly similar and were also
missing.

commit 9dd5db3cb1c46c50d29bf11a495a77e2669b847a
Author: Mark Wielaard <m...@klomp.org>
Date:   Mon Oct 2 00:37:24 2023 +0200

    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

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to