
This patch removes all uses of %T from within LLVM tests. %T has been deprecated for about seven years and use is not advised given it is not unique per test and can thus lead to races. The goal of this is to eventually remove support for %T from lit.
16 lines
629 B
Plaintext
16 lines
629 B
Plaintext
# 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
|