Clang Project

clang_source_code/test/Driver/lto-plugin-linux.c
1// Check that non-Windows, non-Darwin OSs use LLVMgold.so.
2// REQUIRES: !system-darwin && !system-windows
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.so"
7