Rafael Espindola | 2211f01 | 2016-06-29 18:31:48 +0000 | [diff] [blame] | 1 | ; Use llvm-as to verify each module |
| 2 | ; RUN: llvm-as %s -o %t1.bc |
| 3 | ; RUN: llvm-as %p/Inputs/odr.ll -o %t2.bc |
| 4 | ; Check that we can link it |
| 5 | ; RUN: llvm-link %t1.bc %t2.bc -o %t |
Peter Collingbourne | d4135bb | 2016-09-13 01:12:59 +0000 | [diff] [blame] | 6 | @bar = global i64 0, align 8, !dbg !6 |
Rafael Espindola | 2211f01 | 2016-06-29 18:31:48 +0000 | [diff] [blame] | 7 | |
| 8 | !llvm.dbg.cu = !{!0} |
| 9 | !llvm.module.flags = !{!7} |
| 10 | |
| 11 | !0 = distinct !DICompileUnit(language: DW_LANG_C_plus_plus, file: !1, isOptimized: false, runtimeVersion: 0, emissionKind: NoDebug, retainedTypes: !2, globals: !5) |
| 12 | !1 = !DIFile(filename: "a", directory: "") |
| 13 | !2 = !{!3} |
| 14 | !3 = distinct !DICompositeType(tag: DW_TAG_class_type, scope: !4, file: !1, identifier: "zed") |
| 15 | !4 = distinct !DISubprogram(name: "b", scope: null, isLocal: false, isDefinition: true, isOptimized: false, unit: !0) |
| 16 | !5 = !{!6} |
Peter Collingbourne | d4135bb | 2016-09-13 01:12:59 +0000 | [diff] [blame] | 17 | !6 = distinct !DIGlobalVariable(name: "c", scope: null, isLocal: false, isDefinition: true) |
Rafael Espindola | 2211f01 | 2016-06-29 18:31:48 +0000 | [diff] [blame] | 18 | !7 = !{i32 2, !"Debug Info Version", i32 3} |