77
Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
1 ; RUN: llvm-link %s %p/debug-info-version-b.ll -S -o - | FileCheck %s
|
Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
2
|
Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
3 ; Test linking of incompatible debug info versions. The debug info
|
Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
4 ; from the other file should be dropped.
|
Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
5
|
95
|
6 ; CHECK-NOT: !DIFile(filename: "b.c", directory: "")
|
|
7 ; CHECK: !DIFile(filename: "a.c", directory: "")
|
|
8 ; CHECK-NOT: !DIFile(filename: "b.c", directory: "")
|
77
Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
9
|
Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
10 !llvm.module.flags = !{ !0 }
|
Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
11 !llvm.dbg.cu = !{!1}
|
Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
12
|
95
|
13 !0 = !{i32 2, !"Debug Info Version", i32 3}
|
|
14 !1 = distinct !DICompileUnit(language: DW_LANG_C99, producer: "clang", isOptimized: true, emissionKind: 0, file: !2, enums: !3, retainedTypes: !3, subprograms: !3)
|
|
15 !2 = !DIFile(filename: "a.c", directory: "")
|
83
|
16 !3 = !{}
|