diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2015-12-08 02:29:45 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2015-12-08 02:29:45 +0000 |
commit | 4609cb778ad34d55e05762b7159f3339c4054145 (patch) | |
tree | 9b3c4c74a962a48a8514d80d488ada2172da7dab /test/Linker | |
parent | 23ae77267189ac95510c0915de0adc1f056f9427 (diff) |
Simplify test. NFC.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@254987 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Linker')
-rw-r--r-- | test/Linker/link-flags.ll | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/test/Linker/link-flags.ll b/test/Linker/link-flags.ll index d03503aa454..c901b699575 100644 --- a/test/Linker/link-flags.ll +++ b/test/Linker/link-flags.ll @@ -1,9 +1,7 @@ -; RUN: llvm-as %S/Inputs/linkage.b.ll -o %t.b.bc -; RUN: llvm-as %S/Inputs/linkage.c.ll -o %t.c.bc -; RUN: llvm-link -S %t.b.bc %t.c.bc | FileCheck %s -check-prefix=B -check-prefix=C -check-prefix=CU -; RUN: llvm-link -S -only-needed %t.b.bc %t.c.bc | FileCheck %s -check-prefix=B -check-prefix=C -check-prefix=CN -; RUN: llvm-link -S -internalize %t.b.bc %t.c.bc | FileCheck %s -check-prefix=B -check-prefix=CI -; RUN: llvm-link -S -internalize -only-needed %t.b.bc %t.c.bc | FileCheck %s -check-prefix=B -check-prefix=CN +; RUN: llvm-link -S %S/Inputs/linkage.b.ll %S/Inputs/linkage.c.ll | FileCheck %s -check-prefix=B -check-prefix=C -check-prefix=CU +; RUN: llvm-link -S -only-needed %S/Inputs/linkage.b.ll %S/Inputs/linkage.c.ll | FileCheck %s -check-prefix=B -check-prefix=C -check-prefix=CN +; RUN: llvm-link -S -internalize %S/Inputs/linkage.b.ll %S/Inputs/linkage.c.ll | FileCheck %s -check-prefix=B -check-prefix=CI +; RUN: llvm-link -S -internalize -only-needed %S/Inputs/linkage.b.ll %S/Inputs/linkage.c.ll | FileCheck %s -check-prefix=B -check-prefix=CN C-LABEL: @X = global i32 5 CI-LABEL: @X = internal global i32 5 |