aboutsummaryrefslogtreecommitdiffstats
path: root/test/tools/gold/stats.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/tools/gold/stats.ll')
-rw-r--r--test/tools/gold/stats.ll7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/tools/gold/stats.ll b/test/tools/gold/stats.ll
new file mode 100644
index 0000000..b3c8297
--- /dev/null
+++ b/test/tools/gold/stats.ll
@@ -0,0 +1,7 @@
+; REQUIRES: asserts
+
+; RUN: llvm-as %s -o %t.o
+; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so -shared \
+; RUN: -plugin-opt=-stats %t.o -o %t2 2>&1 | FileCheck %s
+
+; CHECK: Statistics Collected