summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/MIR/X86/stack-objects.mir
diff options
context:
space:
mode:
authorFrancis Visoiu Mistrih <francisvm@yahoo.com>2018-04-25 18:58:06 +0000
committerFrancis Visoiu Mistrih <francisvm@yahoo.com>2018-04-25 18:58:06 +0000
commit57fcd3454a5c3285fe7959e14601b8c307ed03b6 (patch)
tree42cdc13363acef9e5fa393a3abcebd555b2af875 /llvm/test/CodeGen/MIR/X86/stack-objects.mir
parentbeffdb9daac6ed4545fcf241abad559387c6ea51 (diff)
downloadbcm5719-llvm-57fcd3454a5c3285fe7959e14601b8c307ed03b6.tar.gz
bcm5719-llvm-57fcd3454a5c3285fe7959e14601b8c307ed03b6.zip
[MIR] Add support for debug metadata for fixed stack objects
Debug var, expr and loc were only supported for non-fixed stack objects. This patch adds the following fields to the "fixedStack:" entries, and renames the ones from "stack:" to: * debug-info-variable * debug-info-expression * debug-info-location Differential Revision: https://reviews.llvm.org/D46032 llvm-svn: 330859
Diffstat (limited to 'llvm/test/CodeGen/MIR/X86/stack-objects.mir')
-rw-r--r--llvm/test/CodeGen/MIR/X86/stack-objects.mir6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/test/CodeGen/MIR/X86/stack-objects.mir b/llvm/test/CodeGen/MIR/X86/stack-objects.mir
index 1e6e6882ef4..0e2debe8be9 100644
--- a/llvm/test/CodeGen/MIR/X86/stack-objects.mir
+++ b/llvm/test/CodeGen/MIR/X86/stack-objects.mir
@@ -23,13 +23,13 @@ frameInfo:
# CHECK: stack:
# CHECK-NEXT: - { id: 0, name: b, type: default, offset: -12, size: 4, alignment: 4,
# CHECK-NEXT: stack-id: 0, callee-saved-register: '', callee-saved-restored: true,
-# CHECK-NEXT: di-variable: '', di-expression: '', di-location: '' }
+# CHECK-NEXT: debug-info-variable: '', debug-info-expression: '', debug-info-location: '' }
# CHECK-NEXT: - { id: 1, name: x, type: default, offset: -24, size: 8, alignment: 8,
# CHECK-NEXT: stack-id: 0, callee-saved-register: '', callee-saved-restored: true,
-# CHECK-NEXT: di-variable: '', di-expression: '', di-location: '' }
+# CHECK-NEXT: debug-info-variable: '', debug-info-expression: '', debug-info-location: '' }
# CHECK-NEXT: - { id: 2, name: '', type: spill-slot, offset: -32, size: 4, alignment: 4,
# CHECK-NEXT: stack-id: 0, callee-saved-register: '', callee-saved-restored: true,
-# CHECK-NEXT: di-variable: '', di-expression: '', di-location: '' }
+# CHECK-NEXT: debug-info-variable: '', debug-info-expression: '', debug-info-location: '' }
stack:
- { id: 0, name: b, offset: -12, size: 4, alignment: 4 }
- { id: 1, name: x, offset: -24, size: 8, alignment: 8 }
OpenPOWER on IntegriCloud