]> git.ipfire.org Git - thirdparty/valgrind.git/commit
m_debuginfo: Suppress warning about not handling entry_value ops
authorMark Wielaard <mark@klomp.org>
Sun, 15 Jan 2023 13:24:19 +0000 (14:24 +0100)
committerMark Wielaard <mark@klomp.org>
Sun, 15 Jan 2023 13:24:31 +0000 (14:24 +0100)
commitfdda0bece6dd57aafd7cc527e86431794430dc4a
treec5f9bf71fe7466333feebd7bd29d5cf2111818e3
parentcae2118d959832196d5ba54b5290db0bc2060146
m_debuginfo: Suppress warning about not handling entry_value ops

The warning: evaluate_Dwarf3_Expr: unhandled DW_OP_ 0xf3 isn't
very helpful. This means we didn't handle DW_OP_GNU_entry_value.

DW_OP_GNU_entry_value (or DWARF5 DW_OP_entry_value) means interpreting
the given DWARF expression using register values as they were upon
entering the function. Which is non-trivial to implement.

We can fail the evaluation of the DWARF expression without warning
about it by default, since it isn't really needed for any current
valgrind functionality (and it is only done with --read-var-info=yes.
coregrind/m_debuginfo/d3basics.c