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

The Autoconf build already does this, but it was never ported to CMake. The host linker version affects the flags that Clang pass to the linker, notably whether it passes -demangle or not. http://reviews.llvm.org/D6239 llvm-svn: 221844
9 lines
252 B
C
9 lines
252 B
C
// REQUIRES: system-darwin
|
|
|
|
// On Darwin, -demangle is passed to the linker of HOST_LINK_VERSION
|
|
// is high enough. It is assumed to be high enough on systems where
|
|
// this test gets run.
|
|
|
|
// RUN: %clang -### %s 2>&1 | FileCheck %s
|
|
// CHECK: -demangle
|