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