Fix the testcases for the previous patch.
authorEric Christopher <echristo@apple.com>
Tue, 24 Jan 2012 10:11:49 +0000 (10:11 +0000)
committerEric Christopher <echristo@apple.com>
Tue, 24 Jan 2012 10:11:49 +0000 (10:11 +0000)
rdar://10278198

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@148795 91177308-0d34-0410-b5e6-96231b3b80d8

test/DebugInfo/2010-06-29-InlinedFnLocalVar.ll
test/DebugInfo/X86/DW_AT_specification.ll
test/DebugInfo/X86/concrete_out_of_line.ll
test/DebugInfo/X86/pr11300.ll

index 001e9389cca10d4b051dc063421fed5ee5f37467..2557c9c63dea4a027a812007d9dbb07498d066c3 100644 (file)
@@ -2,7 +2,6 @@
 ; Check struct X for dead variable xyz from inlined function foo.
 
 ; CHECK:       DW_TAG_structure_type
-; CHECK-NEXT:  DW_AT_sibling
 ; CHECK-NEXT:  DW_AT_name
  
 
index bdd65e63c004085471b318070941f7d540c145a4..862349f8b064152b84edab3b65795a2437dd0ef3 100644 (file)
@@ -3,8 +3,8 @@
 
 ; test that the DW_AT_specification is a back edge in the file.
 
-; CHECK: 0x0000003c: DW_TAG_subprogram [5] *
-; CHECK: 0x00000064: DW_AT_specification [DW_FORM_ref4]      (cu + 0x003c => {0x0000003c})
+; CHECK: 0x00000038: DW_TAG_subprogram [5] *
+; CHECK: 0x00000060: DW_AT_specification [DW_FORM_ref4]      (cu + 0x0038 => {0x00000038})
 
 
 @_ZZN3foo3barEvE1x = constant i32 0, align 4
index 3da34c2474b6341608299b18ba146460c5e14db4..92895f199c014aa830846d4f81e7ee2be60cc5b0 100644 (file)
@@ -7,8 +7,7 @@
 ; first check that we have a TAG_subprogram at a given offset and it has
 ; AT_inline.
 
-; CHECK: 0x0000014a:   DW_TAG_subprogram
-; CHECK-NEXT:     DW_AT_sibling
+; CHECK: 0x00000136:   DW_TAG_subprogram
 ; CHECK-NEXT:     DW_AT_MIPS_linkage_name
 ; CHECK-NEXT:     DW_AT_specification
 ; CHECK-NEXT:     DW_AT_inline
@@ -16,8 +15,8 @@
 
 ; and then that a TAG_subprogram refers to it with AT_abstract_origin.
 
-; CHECK: 0x000001a6:   DW_TAG_subprogram
-; CHECK-NEXT: DW_AT_abstract_origin [DW_FORM_ref4]    (cu + 0x014a => {0x0000014a})
+; CHECK: 0x00000186:   DW_TAG_subprogram
+; CHECK-NEXT: DW_AT_abstract_origin [DW_FORM_ref4]    (cu + 0x0136 => {0x00000136})
 
 define i32 @_ZN17nsAutoRefCnt7ReleaseEv() {
 entry:
index 8df2b46224f28b23e34b7c23f705c73b968ad177..fcb358ad853500d441dcfdc251c056275b5708ff 100644 (file)
@@ -3,8 +3,8 @@
 
 ; test that the DW_AT_specification is a back edge in the file.
 
-; CHECK: 0x00000063:     DW_TAG_subprogram [5]
-; CHECK: 0x00000089:     DW_AT_specification [DW_FORM_ref4]      (cu + 0x0063 => {0x00000063})
+; CHECK: 0x0000005b:     DW_TAG_subprogram [5]
+; CHECK: 0x0000007d:     DW_AT_specification [DW_FORM_ref4]      (cu + 0x005b => {0x0000005b})
 
 %struct.foo = type { i8 }