1 ; RUN: llvm-as %s -o %t.o 2 ; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so \ 3 ; RUN: -plugin-opt=emit-llvm \ 4 ; RUN: -shared %t.o -o %t2 5 ; RUN: llvm-dis %t2 -o - | FileCheck %s 6 ; CHECK-NOT: subprograms 7 8 !llvm.dbg.cu = !{!0} 9 !llvm.module.flags = !{!3, !4} 10 !llvm.ident = !{!5} 11 12 !0 = distinct !DICompileUnit(language: DW_LANG_C_plus_plus, file: !1, producer: "clang version 3.8.0 (trunk 256170) (llvm/trunk 256171)", isOptimized: false, runtimeVersion: 0, emissionKind: 1, enums: !2) 13 !1 = !DIFile(filename: "pr25915.cc", directory: ".") 14 !2 = !{} 15 !3 = !{i32 2, !"Dwarf Version", i32 4} 16 !4 = !{i32 2, !"Debug Info Version", i32 3} 17 !5 = !{!"clang version 3.8.0 (trunk 256170) (llvm/trunk 256171)"} 18