diff options
author | Mehdi Amini <mehdi.amini@apple.com> | 2015-09-16 05:34:32 +0000 |
---|---|---|
committer | Mehdi Amini <mehdi.amini@apple.com> | 2015-09-16 05:34:32 +0000 |
commit | d178f4fc895b432008fcd8a0a49a13d951fecfe4 (patch) | |
tree | 19aeac350e85872308d275d4fe8cdce821771d5d /llvm/test/Linker/subprogram-linkonce-weak.ll | |
parent | 8e468d6388ad3a91c2a835529729515c19f74186 (diff) | |
download | bcm5719-llvm-d178f4fc895b432008fcd8a0a49a13d951fecfe4.tar.gz bcm5719-llvm-d178f4fc895b432008fcd8a0a49a13d951fecfe4.zip |
Make the default triple optional by allowing an empty string
When building LLVM as a (potentially dynamic) library that can be linked against
by multiple compilers, the default triple is not really meaningful.
We allow to explicitely set it to an empty string when configuring LLVM.
In this case, said "target independent" tests in the test suite that are using
the default triple are disabled by matching the newly available feature
"default_triple".
Reviewers: probinson, echristo
Differential Revision: http://reviews.llvm.org/D12660
From: Mehdi Amini <mehdi.amini@apple.com>
llvm-svn: 247775
Diffstat (limited to 'llvm/test/Linker/subprogram-linkonce-weak.ll')
-rw-r--r-- | llvm/test/Linker/subprogram-linkonce-weak.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/Linker/subprogram-linkonce-weak.ll b/llvm/test/Linker/subprogram-linkonce-weak.ll index 6330ecc5b55..78a576d7635 100644 --- a/llvm/test/Linker/subprogram-linkonce-weak.ll +++ b/llvm/test/Linker/subprogram-linkonce-weak.ll @@ -1,8 +1,8 @@ -; REQUIRES: native ; RUN: llvm-link %s %S/Inputs/subprogram-linkonce-weak.ll -S -o %t1 ; RUN: FileCheck %s -check-prefix=LW -check-prefix=CHECK <%t1 ; RUN: llvm-link %S/Inputs/subprogram-linkonce-weak.ll %s -S -o %t2 ; RUN: FileCheck %s -check-prefix=WL -check-prefix=CHECK <%t2 +; REQUIRES: default_triple ; This testcase tests the following flow: ; - File A defines a linkonce version of @foo which has inlined into @bar. |