1 # RUN: opt -module-summary %p/Inputs/main-mod.ll -o %T/main-mod.bc
2 # RUN: opt -module-summary %p/Inputs/foo-mod.ll -o %T/foo-mod.bc
3 # RUN: opt -module-summary %p/Inputs/bar-mod.ll -o %T/bar-mod.bc
5 # REQUIRES: default_triple
6 # UNSUPPORTED: target=powerpc64{{.*}}
8 # RUN: llvm-lto -thinlto -o %T/main-foo-bar %T/main-mod.bc %T/foo-mod.bc %T/bar-mod.bc
10 # RUN: LLJITWithThinLTOSummaries %T/main-foo-bar.thinlto.bc 2>&1 | FileCheck %s
12 # CHECK: About to load module: {{.*}}/main-mod.bc
13 # CHECK-DAG: About to load module: {{.*}}/foo-mod.bc
14 # CHECK-DAG: About to load module: {{.*}}/bar-mod.bc
15 # CHECK: 'main' finished with exit code: 0