summaryrefslogtreecommitdiff
path: root/test/Linker
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2014-03-14 23:08:29 +0000
committerAdrian Prantl <aprantl@apple.com>2014-03-14 23:08:29 +0000
commit1d8c02bef375fa43a4f51ee8e4c086c40d4ea072 (patch)
treedef8c6a83086190c406014e96270f4445caae4ca /test/Linker
parent7e1a3830ca5838f346534a031c1138afc8793e20 (diff)
downloadllvm-1d8c02bef375fa43a4f51ee8e4c086c40d4ea072.tar.gz
llvm-1d8c02bef375fa43a4f51ee8e4c086c40d4ea072.tar.bz2
llvm-1d8c02bef375fa43a4f51ee8e4c086c40d4ea072.tar.xz
Debug info: Unique types before emitting them to DWARF, where applicable.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203983 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Linker')
-rw-r--r--test/Linker/type-unique-odr-a.ll4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/Linker/type-unique-odr-a.ll b/test/Linker/type-unique-odr-a.ll
index 6edb0c4bbd..3ab20bfb32 100644
--- a/test/Linker/type-unique-odr-a.ll
+++ b/test/Linker/type-unique-odr-a.ll
@@ -28,6 +28,10 @@
; CHECK-NEXT: DW_AT_MIPS_linkage_name {{.*}} "_ZL3barv"
; CHECK: DW_TAG_class_type
; CHECK-NEXT: DW_AT_name {{.*}} "A"
+; CHECK-NOT: DW_TAG
+; CHECK: DW_TAG_member
+; CHECK-NEXT: DW_AT_name {{.*}} "data"
+; CHECK-NOT: DW_TAG
; CHECK: DW_TAG_subprogram
; CHECK-NEXT: DW_AT_MIPS_linkage_name {{.*}} "_ZN1A6getFooEv"
; CHECK-NEXT: DW_AT_name {{.*}} "getFoo"