summaryrefslogtreecommitdiff
path: root/test/DebugInfo/X86/subregisters.ll
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2014-06-13 21:52:33 +0000
committerDavid Blaikie <dblaikie@gmail.com>2014-06-13 21:52:33 +0000
commitc4268a67950514b1e5f2f602882dc7c22609c448 (patch)
treeb739c5fe80e958a53ea59ef608f0bc8acdd16ef0 /test/DebugInfo/X86/subregisters.ll
parent0c2029af038c012b618e7187d0eb92112f068543 (diff)
downloadllvm-c4268a67950514b1e5f2f602882dc7c22609c448.tar.gz
llvm-c4268a67950514b1e5f2f602882dc7c22609c448.tar.bz2
llvm-c4268a67950514b1e5f2f602882dc7c22609c448.tar.xz
DebugInfo: Refactor some tests to allow DW_AT_name to not be the first attribute in a local variable.
In an effort to fix concrete variables referencing abstract origins where the concrete variable preceeds the first inlined usage, the addition of attributes such as name, file, etc will be delayed until the end of the module (to wait to see if any inlined instances have occurred, thus necessitating an abstract definition that the concrete definition should also reference). These test cases don't actually need to care about this ordering of attributes, so update them to be more resilient to such changes coming in the near future. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210940 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/DebugInfo/X86/subregisters.ll')
-rw-r--r--test/DebugInfo/X86/subregisters.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/DebugInfo/X86/subregisters.ll b/test/DebugInfo/X86/subregisters.ll
index 738ab02c0c..d46a95f2c9 100644
--- a/test/DebugInfo/X86/subregisters.ll
+++ b/test/DebugInfo/X86/subregisters.ll
@@ -6,8 +6,8 @@
;
; rdar://problem/16015314
;
+; CHECK: DW_AT_location [DW_FORM_block1] (<0x03> 54 93 04 )
; CHECK: DW_AT_name [DW_FORM_strp]{{.*}} "a"
-; CHECK: DW_AT_location [DW_FORM_block1] (<0x03> 54 93 04 )
;
; struct bar {
; int a;