[llvm-commits] [llvm] r169146 - /llvm/trunk/test/DebugInfo/two-cus-from-same-file.ll

Eli Bendersky eliben at google.com
Mon Dec 3 11:58:13 PST 2012


Author: eliben
Date: Mon Dec  3 13:58:12 2012
New Revision: 169146

URL: http://llvm.org/viewvc/llvm-project?rev=169146&view=rev
Log:
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.

Modified:
    llvm/trunk/test/DebugInfo/two-cus-from-same-file.ll

Modified: llvm/trunk/test/DebugInfo/two-cus-from-same-file.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/DebugInfo/two-cus-from-same-file.ll?rev=169146&r1=169145&r2=169146&view=diff
==============================================================================
--- llvm/trunk/test/DebugInfo/two-cus-from-same-file.ll (original)
+++ llvm/trunk/test/DebugInfo/two-cus-from-same-file.ll Mon Dec  3 13:58:12 2012
@@ -65,10 +65,8 @@
 !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}}
 





More information about the llvm-commits mailing list