brintos

brintos / llvm-project-archived public Read only

0
0
Text · 644 B · 55f047f Raw
17 lines · plain
1; RUN: llvm-link %s %p/debug-info-version-b.ll -S -o - | FileCheck %s2 3; Test linking of incompatible debug info versions. The debug info4; from the other file should be dropped.5 6; CHECK-NOT: !DIFile(filename: "b.c", directory: "")7; CHECK:     !DIFile(filename: "a.c", directory: "")8; CHECK-NOT: !DIFile(filename: "b.c", directory: "")9 10!llvm.module.flags = !{ !0 }11!llvm.dbg.cu = !{!1}12 13!0 = !{i32 2, !"Debug Info Version", i32 3}14!1 = distinct !DICompileUnit(language: DW_LANG_C99, producer: "clang", isOptimized: true, emissionKind: FullDebug, file: !2, enums: !3, retainedTypes: !3)15!2 = !DIFile(filename: "a.c", directory: "")16!3 = !{}17