summaryrefslogtreecommitdiff
path: root/test/DebugInfo/dead-argument-order.ll
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2014-06-13 22:18:23 +0000
committerDavid Blaikie <dblaikie@gmail.com>2014-06-13 22:18:23 +0000
commit0fcb9cb1c11b209774bb7dc4f23e796b7cafdbf3 (patch)
tree314e21f1df4dff57e3f9cb2336baf4dca02f23b9 /test/DebugInfo/dead-argument-order.ll
parentc4268a67950514b1e5f2f602882dc7c22609c448 (diff)
downloadllvm-0fcb9cb1c11b209774bb7dc4f23e796b7cafdbf3.tar.gz
llvm-0fcb9cb1c11b209774bb7dc4f23e796b7cafdbf3.tar.bz2
llvm-0fcb9cb1c11b209774bb7dc4f23e796b7cafdbf3.tar.xz
DebugInfo: Following up to r209677, refactor local variable emission to delay the choice between emitting the definition attributes or using DW_AT_abstract_definition
This doesn't fix the abstract variable handling yet, but it introduces a similar delay mechanism as was added for subprograms, causing DW_AT_location to be reordered to the beginning of the attribute list for local variables, and fixes all the test fallout for that. A subsequent commit will remove the abstract variable handling in DbgVariable and just do the abstract variable lookup at module end to ensure that abstract variables introduced after their concrete counterparts are appropriately referenced by the concrete variable. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210943 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/DebugInfo/dead-argument-order.ll')
-rw-r--r--test/DebugInfo/dead-argument-order.ll3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/DebugInfo/dead-argument-order.ll b/test/DebugInfo/dead-argument-order.ll
index 921a973090..ea805a4872 100644
--- a/test/DebugInfo/dead-argument-order.ll
+++ b/test/DebugInfo/dead-argument-order.ll
@@ -28,8 +28,9 @@
; CHECK-NOT: {{DW_TAG|NULL}}
; CHECK: DW_TAG_formal_parameter
; CHECK-NOT: DW_TAG
-; CHECK: DW_AT_name {{.*}} "i"
; CHECK: DW_AT_location
+; CHECK-NOT: DW_TAG
+; CHECK: DW_AT_name {{.*}} "i"
%struct.S = type { i32 }