aboutsummaryrefslogtreecommitdiff
path: root/test/profile/lit.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'test/profile/lit.cfg')
-rw-r--r--test/profile/lit.cfg2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/profile/lit.cfg b/test/profile/lit.cfg
index e4910abbe7a4..b1b44a1a0665 100644
--- a/test/profile/lit.cfg
+++ b/test/profile/lit.cfg
@@ -45,6 +45,8 @@ def build_invocation(compile_flags):
config.substitutions.append( ("%clang ", build_invocation(clang_cflags)) )
config.substitutions.append( ("%clang_profgen ", build_invocation(clang_cflags) + " -fprofile-instr-generate ") )
config.substitutions.append( ("%clang_profuse=", build_invocation(clang_cflags) + " -fprofile-instr-use=") )
+config.substitutions.append( ("%clang_profgen_gcc=", build_invocation(clang_cflags) + " -fprofile-generate=") )
+config.substitutions.append( ("%clang_profuse_gcc=", build_invocation(clang_cflags) + " -fprofile-use=") )
if config.host_os not in ['Darwin', 'FreeBSD', 'Linux']:
config.unsupported = True