summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorEli Bendersky <eliben@google.com>2012-12-03 19:58:12 +0000
committerEli Bendersky <eliben@google.com>2012-12-03 19:58:12 +0000
commitba917da3d38a9fc16d73e7ea341194b151ad1de0 (patch)
tree88dcb746fa3164ebc74098f3c8f51318d681afd0 /test
parent9127be8a19471039f1c8e50e92c8ebd0460048e9 (diff)
downloadllvm-ba917da3d38a9fc16d73e7ea341194b151ad1de0.tar.gz
llvm-ba917da3d38a9fc16d73e7ea341194b151ad1de0.tar.bz2
llvm-ba917da3d38a9fc16d73e7ea341194b151ad1de0.tar.xz
Simplify this test a bit because DWARF emission/dumping on some platforms
is not yet good enough for more sophistication. The important goal of this test is to make sure llc doesn't crash on this IR like it used to. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169146 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/DebugInfo/two-cus-from-same-file.ll10
1 files changed, 4 insertions, 6 deletions
diff --git a/test/DebugInfo/two-cus-from-same-file.ll b/test/DebugInfo/two-cus-from-same-file.ll
index 74817078e1..d01aeea3bf 100644
--- a/test/DebugInfo/two-cus-from-same-file.ll
+++ b/test/DebugInfo/two-cus-from-same-file.ll
@@ -65,10 +65,8 @@ declare void @llvm.dbg.value(metadata, i64, metadata) nounwind readnone
!30 = metadata !{i32 13, i32 3, metadata !29, null}
!31 = metadata !{i32 14, i32 3, metadata !29, null}
-; Expect two different compile units to be emitted with the same filename
-; attribute
-; CHECK: {{Compile Unit.*next CU at}}
-; CHECK: {{DW_AT_name.*foo\.c}}
-; CHECK: {{Compile Unit.*next CU at}}
-; CHECK: {{DW_AT_name.*foo\.c}}
+; This test is simple to be cross platform (many targets don't yet have
+; sufficiently good DWARF emission and/or dumping)
+; CHECK: {{DW_TAG_compile_unit}}
+; CHECK: {{foo\.c}}