mirror of https://github.com/microsoft/clang.git
Degeneralize more tests.
As before, not every platform supports LTO. Make sure the platform we're targeting is one that supports it (regardless of the *host* platform). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@311488 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
99c20f4d54
commit
4b83e1b574
|
@ -1,6 +1,6 @@
|
|||
// Check that Darwin uses LLVMgold.dylib.
|
||||
// REQUIRES: system-darwin
|
||||
// RUN: %clang -### %s -flto 2>&1 \
|
||||
// RUN: %clang -### %s -target x86_64-unknown-linux -flto 2>&1 \
|
||||
// RUN: | FileCheck -check-prefix=CHECK-LTO-PLUGIN %s
|
||||
//
|
||||
// CHECK-LTO-PLUGIN: "-plugin" "{{.*}}/LLVMgold.dylib"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Check that non-Windows, non-Darwin OSs use LLVMgold.so.
|
||||
// REQUIRES: !system-darwin && !system-windows
|
||||
// RUN: %clang -### %s -flto 2>&1 \
|
||||
// RUN: %clang -### %s -target x86_64-unknown-linux -flto 2>&1 \
|
||||
// RUN: | FileCheck -check-prefix=CHECK-LTO-PLUGIN %s
|
||||
//
|
||||
// CHECK-LTO-PLUGIN: "-plugin" "{{.*}}/LLVMgold.so"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Check that Windows uses LLVMgold.dll.
|
||||
// REQUIRES: system-windows
|
||||
// RUN: %clang -### %s -flto 2>&1 \
|
||||
// RUN: %clang -### %s -target x86_64-unknown-linux -flto 2>&1 \
|
||||
// RUN: | FileCheck -check-prefix=CHECK-LTO-PLUGIN %s
|
||||
//
|
||||
// CHECK-LTO-PLUGIN: "-plugin" "{{.*}}\\LLVMgold.dll"
|
||||
|
|
Loading…
Reference in New Issue