[PATCH] D133926: [DebugInfo] Allow non-stack_value variadic expressions and use in DBG_INSTR_REF
Stephen Tozer via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 7 09:39:56 PST 2022
StephenTozer added inline comments.
================
Comment at: llvm/test/DebugInfo/MIR/InstrRef/dbg-phi-subregister-location.mir:13
# CHECK-NEXT: DBG_INSTR_REF {{.+}}, dbg-instr-ref(2, 0)
-# CHECK-NEXT: DBG_VALUE $dil
+# CHECK-NEXT: DBG_VALUE_LIST {{.+}} $dil
--- |
----------------
jmorse wrote:
> Does this patch actually make some DBG_VALUEs become DBG_VALUE_LIST? I've missed that part, and see it's happening in various tests.
Missed this question - this patch changes `DBG_INSTR_REF` to have the same syntax as a `DBG_VALUE_LIST`, which includes having the variadic flag set, hence LDV will output the debug value produced from a `DBG_INSTR_REF` as a `DBG_VALUE_LIST`.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D133926/new/
https://reviews.llvm.org/D133926
More information about the llvm-commits
mailing list