brintos

brintos / llvm-project-archived public Read only

0
0
Text · 629 B · 5f930ad Raw
16 lines · plain
1# RUN: opt -module-summary %p/Inputs/main-mod.ll -o %t.main-mod.bc2# RUN: opt -module-summary %p/Inputs/foo-mod.ll -o %t.foo-mod.bc3# RUN: opt -module-summary %p/Inputs/bar-mod.ll -o %t.bar-mod.bc4 5# REQUIRES: default_triple6# UNSUPPORTED: target=powerpc64{{.*}}7 8# RUN: llvm-lto -thinlto -o %t.main-foo-bar %t.main-mod.bc %t.foo-mod.bc %t.bar-mod.bc9 10# RUN: LLJITWithThinLTOSummaries %t.main-foo-bar.thinlto.bc 2>&1 | FileCheck %s11 12# CHECK: About to load module: {{.*}}main-mod.bc13# CHECK-DAG: About to load module: {{.*}}foo-mod.bc14# CHECK-DAG: About to load module: {{.*}}bar-mod.bc15# CHECK: 'main' finished with exit code: 016