diff options
author | David Blaikie <dblaikie@gmail.com> | 2014-05-21 22:41:17 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2014-05-21 22:41:17 +0000 |
commit | 30436451e28a92642b1d4f56afc9e7df575b7756 (patch) | |
tree | 5667075f7f0257820e90158ab98842b699c7ef4d /test/DebugInfo/X86 | |
parent | fd0096a42c6d21e922e99669b1752a03987ebc84 (diff) | |
download | llvm-30436451e28a92642b1d4f56afc9e7df575b7756.tar.gz llvm-30436451e28a92642b1d4f56afc9e7df575b7756.tar.bz2 llvm-30436451e28a92642b1d4f56afc9e7df575b7756.tar.xz |
DebugInfo: Ensure concrete out of line variables from inlined functions reference their abstract origins.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@209327 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/DebugInfo/X86')
-rw-r--r-- | test/DebugInfo/X86/concrete_out_of_line.ll | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/DebugInfo/X86/concrete_out_of_line.ll b/test/DebugInfo/X86/concrete_out_of_line.ll index baa819de85..ad9d3b6669 100644 --- a/test/DebugInfo/X86/concrete_out_of_line.ll +++ b/test/DebugInfo/X86/concrete_out_of_line.ll @@ -39,6 +39,8 @@ ; CHECK-NEXT: DW_AT_specification {{.*}} {[[DTOR_DECL]]} ; CHECK-NEXT: DW_AT_inline ; CHECK-NOT: DW_AT_inline +; CHECK-NOT: DW_TAG +; CHECK: [[D1_THIS_ABS:0x........]]: DW_TAG_formal_parameter ; CHECK: [[D2_ABS]]: DW_TAG_subprogram ; CHECK-NEXT: DW_AT_{{.*}}linkage_name ; CHECK-NEXT: DW_AT_specification {{.*}} {[[DTOR_DECL]]} @@ -52,6 +54,7 @@ ; CHECK: DW_TAG_subprogram ; CHECK-NEXT: DW_AT_abstract_origin {{.*}} {[[D1_ABS]]} ; CHECK: DW_TAG_formal_parameter +; CHECK-NEXT: DW_AT_abstract_origin {{.*}} {[[D1_THIS_ABS]]} ; CHECK: DW_TAG_inlined_subroutine ; CHECK-NEXT: DW_AT_abstract_origin {{.*}} {[[D2_ABS]]} |