mirror of
https://github.com/Gericom/teak-llvm.git
synced 2025-06-25 06:18:56 -04:00

As before, not every platform supports LTO. Make sure the platform we're targeting is one that supports it (regardless of the *host* platform). llvm-svn: 311488
7 lines
247 B
C
7 lines
247 B
C
// Check that Windows uses LLVMgold.dll.
|
|
// REQUIRES: system-windows
|
|
// 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"
|