https://bugs.llvm.org/show_bug.cgi?id=43872
Bug ID: 43872
Summary: libunwind: Evaluating DWARF operation DW_OP_pick is
broken
Product: libc++abi
Version: 9.0
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: All Bugs
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
The problem is in libunwind: src/DwarfInstructions.hpp
DwarfInstructions<A, R>::evaluateExpression()
...
uint32_t reg;
...
case DW_OP_pick:
// pick from
reg = addressSpace.get8(p);
p += 1;
value = sp[-reg];
*(++sp) = value;
DW_OP_pick instructs to push an stack entry on the stack with the specified
index (0 through 255, inclusive)
Since reg is unsigned, -reg does not do, what it was supposed to do.
--
You are receiving this mail because:
You are on the CC list for the bug._______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs