summaryrefslogtreecommitdiff
path: root/test/Driver/lto-plugin-linux.c
blob: ac1eb14e2e9f0fbc558d99eddc91ebe537f86843 (plain)
1
2
3
4
5
6
// Check that non-Windows, non-Darwin OSs use LLVMgold.so.
// REQUIRES: !system-darwin && !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.so"