Clang Project

clang_source_code/test/Driver/lto-plugin-darwin.c
1// Check that Darwin uses LLVMgold.dylib.
2// REQUIRES: system-darwin
3// RUN: %clang -### %s -target x86_64-unknown-linux -flto 2>&1 \
4// RUN:   | FileCheck -check-prefix=CHECK-LTO-PLUGIN %s
5//
6// CHECK-LTO-PLUGIN: "-plugin" "{{.*}}/LLVMgold.dylib"
7