summaryrefslogtreecommitdiffstats
path: root/llvm/test/DebugInfo/two-cus-from-same-file.ll
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
commit5d7b117f4402d5c4262b7a252401f75ec83dee14 (patch)
tree99fed457ccb08d1e398ede440b54c68062a0cbf5 /llvm/test/DebugInfo/two-cus-from-same-file.ll
parent7b246c38724a9c79336fff87af668136fb676fe6 (diff)
downloadbcm5719-llvm-5d7b117f4402d5c4262b7a252401f75ec83dee14.tar.gz
bcm5719-llvm-5d7b117f4402d5c4262b7a252401f75ec83dee14.zip
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. llvm-svn: 169146
Diffstat (limited to 'llvm/test/DebugInfo/two-cus-from-same-file.ll')
-rw-r--r--llvm/test/DebugInfo/two-cus-from-same-file.ll10
1 files changed, 4 insertions, 6 deletions
diff --git a/llvm/test/DebugInfo/two-cus-from-same-file.ll b/llvm/test/DebugInfo/two-cus-from-same-file.ll
index 74817078e1f..d01aeea3bfd 100644
--- a/llvm/test/DebugInfo/two-cus-from-same-file.ll
+++ b/llvm/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}}
OpenPOWER on IntegriCloud