summaryrefslogtreecommitdiffstats
path: root/test/Driver/cspgo-lto.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Driver/cspgo-lto.c')
-rw-r--r--test/Driver/cspgo-lto.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/Driver/cspgo-lto.c b/test/Driver/cspgo-lto.c
new file mode 100644
index 0000000000..52d4f2487b
--- /dev/null
+++ b/test/Driver/cspgo-lto.c
@@ -0,0 +1,6 @@
+// RUN: touch %t.o
+//
+// RUN: %clang -target x86_64-unknown-linux -### %t.o -flto=thin \
+// RUN: -fprofile-use 2>&1 | FileCheck %s
+
+// CHECK: -plugin-opt=cs-profile-path=default.profdata