Closed
Description
From a discussion/debugging here: https://reviews.llvm.org/D154907
void b(double);
void c();
void e(double e) {
c();
b(e);
}
$ clang-tot x.ii -g -c -o - -O3 | llvm-dwarfdump-tot - | grep DW_OP_deref_size
[0x0000000000000006, 0x0000000000000016): DW_OP_breg7 RSP+0, DW_OP_deref_size 0x10, DW_OP_stack_value)
This seems to be created here:
llvm-project/llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp
Lines 1280 to 1281 in dd84f5f