aboutsummaryrefslogtreecommitdiffstats
path: root/test/lit.cfg
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2010-11-25 21:19:52 +0000
committerDuncan Sands <baldrick@free.fr>2010-11-25 21:19:52 +0000
commit48f296dada9a344f278bf3a4b3f5bfb97b0935c2 (patch)
tree9d73e9cc530f9226ecf673e3612053e20c0ae41a /test/lit.cfg
parent8ed692654bb35f081e8984ec84512a49b3277d33 (diff)
downloadexternal_llvm-48f296dada9a344f278bf3a4b3f5bfb97b0935c2.zip
external_llvm-48f296dada9a344f278bf3a4b3f5bfb97b0935c2.tar.gz
external_llvm-48f296dada9a344f278bf3a4b3f5bfb97b0935c2.tar.bz2
Use LLVMCC_EMITIR_FLAG rather than hard-coding "-emit-llvm".
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120156 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/lit.cfg')
-rw-r--r--test/lit.cfg4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/lit.cfg b/test/lit.cfg
index 3ba4c99..b529169 100644
--- a/test/lit.cfg
+++ b/test/lit.cfg
@@ -125,12 +125,12 @@ for line in open(os.path.join(config.llvm_obj_root, 'test', 'site.exp')):
# Add substitutions.
config.substitutions.append(('%llvmgcc_only', site_exp['llvmgcc']))
-for sub in ['llvmgcc', 'llvmgxx', 'compile_cxx', 'compile_c',
+for sub in ['llvmgcc', 'llvmgxx', 'emitir', 'compile_cxx', 'compile_c',
'link', 'shlibext', 'ocamlopt', 'llvmdsymutil', 'llvmlibsdir',
'bugpoint_topts']:
if sub in ('llvmgcc', 'llvmgxx'):
config.substitutions.append(('%' + sub,
- site_exp[sub] + ' -emit-llvm -w'))
+ site_exp[sub] + ' %emitir -w'))
# FIXME: This is a hack to avoid LLVMC tests failing due to a clang driver
# warning when passing in "-fexceptions -fno-exceptions".
elif sub == 'compile_cxx':