DebugInfo: Refactor some tests to allow DW_AT_name to not be the first attribute...
authorDavid Blaikie <dblaikie@gmail.com>
Fri, 13 Jun 2014 21:52:33 +0000 (21:52 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Fri, 13 Jun 2014 21:52:33 +0000 (21:52 +0000)
commitc4268a67950514b1e5f2f602882dc7c22609c448
treeb739c5fe80e958a53ea59ef608f0bc8acdd16ef0
parent0c2029af038c012b618e7187d0eb92112f068543
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
test/DebugInfo/X86/2011-09-26-GlobalVarContext.ll
test/DebugInfo/X86/DW_AT_object_pointer.ll
test/DebugInfo/X86/arguments.ll
test/DebugInfo/X86/block-capture.ll
test/DebugInfo/X86/byvalstruct.ll
test/DebugInfo/X86/dbg-value-inlined-parameter.ll
test/DebugInfo/X86/formal_parameter.ll
test/DebugInfo/X86/subregisters.ll
test/DebugInfo/inlined-arguments.ll