llvm-6502/test/Linker/debug-info-version-b.ll
Adrian Prantl 30e5830301 LTO: Add a testcase for linking modules with incompatible Debug Info
Versions.
rdar://problem/16926122

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@209183 91177308-0d34-0410-b5e6-96231b3b80d8
2014-05-19 23:41:25 +00:00

11 lines
357 B
LLVM

; RUN: true
; Companion for debug-info-version-a.ll.
!llvm.module.flags = !{ !0 }
!llvm.dbg.cu = !{!1}
!0 = metadata !{i32 2, metadata !"Debug Info Version", i32 42}
!1 = metadata !{i32 589841, metadata !2, i32 12, metadata !"clang", metadata !"I AM UNEXPECTED!"} ; [ DW_TAG_compile_unit ]
!2 = metadata !{metadata !"b.c", metadata !""}
!3 = metadata !{}