llvm/test/DebugInfo/bug_null_debuginfo.ll
Manman Ren bec50063a5 Debug Info: update testing cases to specify the debug info version number.
We are going to drop debug info without a version number or with a different
version number, to make sure we don't crash when we see bitcode files with
different debug info metadata format.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@195504 91177308-0d34-0410-b5e6-96231b3b80d8
2013-11-22 21:49:45 +00:00

9 lines
338 B
LLVM

; RUN: llc < %s
!llvm.dbg.cu = !{!0}
!llvm.module.flags = !{!2}
!0 = metadata !{i32 786449, metadata !1, i32 12, metadata !"", i1 false, metadata !"", i32 0, null, null, null, null, null, metadata !""} ; [ DW_TAG_compile_unit ]
!1 = metadata !{metadata !"t", metadata !""}
!2 = metadata !{i32 1, metadata !"Debug Info Version", i32 1}