Home | History | Annotate | Download | only in Linker
      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
      6 @bar = global i64 0, align 8
      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}
     17 !6 = distinct !DIGlobalVariable(name: "c", scope: null, isLocal: false, isDefinition: true, variable: i64* @bar)
     18 !7 = !{i32 2, !"Debug Info Version", i32 3}
     19