summaryrefslogtreecommitdiff
path: root/test/DebugInfo/X86/stringpool.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/stringpool.ll
parentb4e591a4a68649a286cd1b08312566db17758158 (diff)
downloadllvm-6b713800ff03fdbb1d770d1e00af0e76041f3c03.tar.gz
llvm-6b713800ff03fdbb1d770d1e00af0e76041f3c03.tar.bz2
llvm-6b713800ff03fdbb1d770d1e00af0e76041f3c03.tar.xz
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/stringpool.ll')
-rw-r--r--test/DebugInfo/X86/stringpool.ll8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/DebugInfo/X86/stringpool.ll b/test/DebugInfo/X86/stringpool.ll
index c8cba73956..81ab8e6edb 100644
--- a/test/DebugInfo/X86/stringpool.ll
+++ b/test/DebugInfo/X86/stringpool.ll
@@ -21,7 +21,7 @@
; Verify that we refer to 'yyyy' with a relocation.
; LINUX: .long .Linfo_string3 # DW_AT_name
-; LINUX-NEXT: .long 38 # DW_AT_type
+; LINUX-NEXT: .long {{[0-9]+}} # DW_AT_type
; LINUX-NEXT: # DW_AT_external
; LINUX-NEXT: .byte 1 # DW_AT_decl_file
; LINUX-NEXT: .byte 1 # DW_AT_decl_line
@@ -30,9 +30,9 @@
; LINUX-NEXT: .quad yyyy
; Verify that we refer to 'yyyy' without a relocation.
-; DARWIN: Lset5 = Linfo_string3-Linfo_string ## DW_AT_name
-; DARWIN-NEXT: .long Lset5
-; DARWIN-NEXT: .long 38 ## DW_AT_type
+; DARWIN: Lset[[ID:[0-9]+]] = Linfo_string3-Linfo_string ## DW_AT_name
+; DARWIN-NEXT: .long Lset[[ID]]
+; DARWIN-NEXT: .long {{[0-9]+}} ## DW_AT_type
; DARWIN-NEXT: ## DW_AT_external
; DARWIN-NEXT: .byte 1 ## DW_AT_decl_file
; DARWIN-NEXT: .byte 1 ## DW_AT_decl_line