summaryrefslogtreecommitdiff
path: root/clang/test/Driver/gold-lto.c
blob: 05ac27aab9fb8ad8c2bf46e1d5a26b2cf9647a0a (about) (plain)
1
2
3
4
5
6
// RUN: touch %t.o
// RUN: %clang -target x86_64-pc-linux-gnu -### %t.o -O4 -Wl,-plugin-opt=foo 2> %t.log
// RUN: FileCheck %s < %t.log

// CHECK: "-plugin" "{{.*}}/LLVMgold.so"
// CHECK: "-plugin-opt=foo"