[PATCH] D38140: [DebugInfo] Do not extend range for physreg in LiveDebugVariables
Reid Kleckner via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 25 09:22:49 PDT 2017
rnk added inline comments.
================
Comment at: test/DebugInfo/MIR/X86/live-debug-vars-unused-arg.mir:151
+#
+# CHECK-LABEL: ********** EMITTING LIVE DEBUG VARIABLES **********
+# CHECK-NEXT: !"argc,5" [0B;0e):0 Loc0=%EDI
----------------
I think this is testable with dwarfdump. The range for argc should run exactly up until it is clobbered by a0, so the location lists will look like:
```
DW_TAG_formal_parameter
DW_AT_location (0xNNN
0x000 - [[SET_RDI:0x.*]]: RDI)
DW_AT_name: "argc"
DW_TAG_variable
DW_AT_location (0xNNN
[[SET_RDI]] - {{.*}}: RDI)
DW_AT_name: "a0"
```
https://reviews.llvm.org/D38140
More information about the llvm-commits
mailing list