summaryrefslogtreecommitdiffstats
path: root/llvm/test/DebugInfo/X86/struct-loc.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
commitf6b936bc062e7490cfe956d58d47ba92b46e830f (patch)
treec8206c7550195f3ee9eed8057d98059eda1fbec2 /llvm/test/DebugInfo/X86/struct-loc.ll
parentb1ffd99b6a262f674c4cf8ca81205f39baed6765 (diff)
downloadbcm5719-llvm-f6b936bc062e7490cfe956d58d47ba92b46e830f.tar.gz
bcm5719-llvm-f6b936bc062e7490cfe956d58d47ba92b46e830f.zip
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(". llvm-svn: 193589
Diffstat (limited to 'llvm/test/DebugInfo/X86/struct-loc.ll')
-rw-r--r--llvm/test/DebugInfo/X86/struct-loc.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/DebugInfo/X86/struct-loc.ll b/llvm/test/DebugInfo/X86/struct-loc.ll
index 7b424d6e7fb..079276d5f34 100644
--- a/llvm/test/DebugInfo/X86/struct-loc.ll
+++ b/llvm/test/DebugInfo/X86/struct-loc.ll
@@ -2,7 +2,7 @@
; RUN: llvm-dwarfdump -debug-dump=info %t | FileCheck %s
; Make sure that structures have a decl file and decl line attached.
-; CHECK: DW_TAG_structure_type [3]
+; CHECK: DW_TAG_structure_type
; CHECK: DW_AT_decl_file
; CHECK: DW_AT_decl_line
; CHECK: DW_TAG_member
OpenPOWER on IntegriCloud