diff options
author | Eric Christopher <echristo@apple.com> | 2012-01-24 10:11:49 +0000 |
---|---|---|
committer | Eric Christopher <echristo@apple.com> | 2012-01-24 10:11:49 +0000 |
commit | bae0884a30e2394403685367212c4a0631142c2b (patch) | |
tree | 8c21a22a330909af0f70c3e35f64127299dac239 /test/DebugInfo/X86 | |
parent | 8a6983493595a896cfca8392a2676bf425349cee (diff) | |
download | external_llvm-bae0884a30e2394403685367212c4a0631142c2b.zip external_llvm-bae0884a30e2394403685367212c4a0631142c2b.tar.gz external_llvm-bae0884a30e2394403685367212c4a0631142c2b.tar.bz2 |
Fix the testcases for the previous patch.
rdar://10278198
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@148795 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/DebugInfo/X86')
-rw-r--r-- | test/DebugInfo/X86/DW_AT_specification.ll | 4 | ||||
-rw-r--r-- | test/DebugInfo/X86/concrete_out_of_line.ll | 7 | ||||
-rw-r--r-- | test/DebugInfo/X86/pr11300.ll | 4 |
3 files changed, 7 insertions, 8 deletions
diff --git a/test/DebugInfo/X86/DW_AT_specification.ll b/test/DebugInfo/X86/DW_AT_specification.ll index bdd65e6..862349f 100644 --- a/test/DebugInfo/X86/DW_AT_specification.ll +++ b/test/DebugInfo/X86/DW_AT_specification.ll @@ -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 diff --git a/test/DebugInfo/X86/concrete_out_of_line.ll b/test/DebugInfo/X86/concrete_out_of_line.ll index 3da34c2..92895f1 100644 --- a/test/DebugInfo/X86/concrete_out_of_line.ll +++ b/test/DebugInfo/X86/concrete_out_of_line.ll @@ -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: diff --git a/test/DebugInfo/X86/pr11300.ll b/test/DebugInfo/X86/pr11300.ll index 8df2b46..fcb358a 100644 --- a/test/DebugInfo/X86/pr11300.ll +++ b/test/DebugInfo/X86/pr11300.ll @@ -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 } |