aboutsummaryrefslogtreecommitdiffstats
path: root/test/DebugInfo/X86/DW_TAG_friend.ll
diff options
context:
space:
mode:
authorManman Ren <manman.ren@gmail.com>2013-10-29 05:49:41 +0000
committerManman Ren <manman.ren@gmail.com>2013-10-29 05:49:41 +0000
commit6b713800ff03fdbb1d770d1e00af0e76041f3c03 (patch)
tree462a07a6ac3170b391694ad292197834134f6ed2 /test/DebugInfo/X86/DW_TAG_friend.ll
parentb4e591a4a68649a286cd1b08312566db17758158 (diff)
downloadexternal_llvm-6b713800ff03fdbb1d770d1e00af0e76041f3c03.zip
external_llvm-6b713800ff03fdbb1d770d1e00af0e76041f3c03.tar.gz
external_llvm-6b713800ff03fdbb1d770d1e00af0e76041f3c03.tar.bz2
Debug Info: instead of calling addToContextOwner which constructs the context
after the DIE creation, we construct the context first. This touches creation of namespaces and global variables. The purpose is to handle all DIE creations similarly: constructs the context first, then creates the DIE and immediately adds the DIE to its parent. We use createAndAddDIE to wrap around "new DIE(". git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193589 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/DebugInfo/X86/DW_TAG_friend.ll')
-rw-r--r--test/DebugInfo/X86/DW_TAG_friend.ll6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/DebugInfo/X86/DW_TAG_friend.ll b/test/DebugInfo/X86/DW_TAG_friend.ll
index a059fd1..040f36f 100644
--- a/test/DebugInfo/X86/DW_TAG_friend.ll
+++ b/test/DebugInfo/X86/DW_TAG_friend.ll
@@ -3,10 +3,10 @@
; Check that the friend tag is there and is followed by a DW_AT_friend that has a reference back.
-; CHECK: [[BACK:0x[0-9a-f]*]]: DW_TAG_class_type [4]
+; CHECK: [[BACK:0x[0-9a-f]*]]: DW_TAG_class_type
; CHECK-NEXT: DW_AT_name [DW_FORM_strp] ( .debug_str[{{.*}}] = "A")
-; CHECK: DW_TAG_friend [9]
-; CHECK-NEXT: DW_AT_friend [DW_FORM_ref4] (cu + 0x0032 => {[[BACK]]})
+; CHECK: DW_TAG_friend
+; CHECK-NEXT: DW_AT_friend [DW_FORM_ref4] (cu + 0x{{[0-9a-f]*}} => {[[BACK]]})
%class.A = type { i32 }