[gold] Consolidate the gold plugin options and actually search for
[oota-llvm.git] / test / tools / gold / stats.ll
index 7c353e6ab2a6bad14bbb919a0a312bdc9ec41903..b3c829798df260053339a0c3d34c06cbb576144f 100644 (file)
@@ -1,7 +1,7 @@
 ; REQUIRES: asserts
 
 ; RUN: llvm-as %s -o %t.o
-; RUN: ld -plugin %llvmshlibdir/LLVMgold.so  -shared \
+; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so  -shared \
 ; RUN:    -plugin-opt=-stats %t.o -o %t2 2>&1 | FileCheck %s
 
 ; CHECK: Statistics Collected