diff options
Diffstat (limited to 'test/Linker/funcimport_appending_global.ll')
-rw-r--r-- | test/Linker/funcimport_appending_global.ll | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/Linker/funcimport_appending_global.ll b/test/Linker/funcimport_appending_global.ll index 190d31ee8c7f5..3284ef255be80 100644 --- a/test/Linker/funcimport_appending_global.ll +++ b/test/Linker/funcimport_appending_global.ll @@ -1,9 +1,9 @@ -; RUN: llvm-as -function-summary %s -o %t.bc -; RUN: llvm-as -function-summary %p/Inputs/funcimport_appending_global.ll -o %t2.bc +; RUN: opt -module-summary %s -o %t.bc +; RUN: opt -module-summary %p/Inputs/funcimport_appending_global.ll -o %t2.bc ; RUN: llvm-lto -thinlto -o %t3 %t.bc %t2.bc ; Do the import now -; RUN: llvm-link %t.bc -functionindex=%t3.thinlto.bc -import=foo:%t2.bc -S | FileCheck %s +; RUN: llvm-link %t.bc -summary-index=%t3.thinlto.bc -import=foo:%t2.bc -S | FileCheck %s ; Ensure that global constructor (appending linkage) is not imported ; CHECK-NOT: @llvm.global_ctors = {{.*}}@foo |