1 ; RUN: llvm-as -function-summary %s -o %t.o
2 ; RUN: llvm-as -function-summary %p/Inputs/thinlto.ll -o %t2.o
4 ; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so \
5 ; RUN: --plugin-opt=thinlto \
6 ; RUN: -shared %t.o %t2.o -o %t3
7 ; RUN: llvm-bcanalyzer -dump %t3.thinlto.bc | FileCheck %s --check-prefix=COMBINED
10 ; COMBINED: <MODULE_STRTAB_BLOCK
11 ; COMBINED-NEXT: <ENTRY
12 ; COMBINED-NEXT: <ENTRY
13 ; COMBINED-NEXT: </MODULE_STRTAB_BLOCK
14 ; COMBINED-NEXT: <FUNCTION_SUMMARY_BLOCK
15 ; COMBINED-NEXT: <COMBINED_ENTRY
16 ; COMBINED-NEXT: <COMBINED_ENTRY
17 ; COMBINED-NEXT: </FUNCTION_SUMMARY_BLOCK