projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a74b126
)
Get the LLVMC tests working with clang++ by removing the problematic CXXFLAG in lit.
author
Benjamin Kramer
<benny.kra@googlemail.com>
Thu, 4 Feb 2010 18:40:11 +0000
(18:40 +0000)
committer
Benjamin Kramer
<benny.kra@googlemail.com>
Thu, 4 Feb 2010 18:40:11 +0000
(18:40 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95318
91177308
-0d34-0410-b5e6-
96231b3b80d8
test/lit.cfg
patch
|
blob
|
history
diff --git
a/test/lit.cfg
b/test/lit.cfg
index 3b45bf9bd3b50013b345c72e5a2761056536a674..0894d9b38aea113b080ca8d2827903de89ca1d89 100644
(file)
--- a/
test/lit.cfg
+++ b/
test/lit.cfg
@@
-114,6
+114,11
@@
for sub in ['llvmgcc', 'llvmgxx', 'compile_cxx', 'compile_c',
if sub in ('llvmgcc', 'llvmgxx'):
config.substitutions.append(('%' + sub,
site_exp[sub] + ' -emit-llvm -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':
+ config.substitutions.append(('%' + sub,
+ site_exp[sub].replace('-fno-exceptions', '')))
else:
config.substitutions.append(('%' + sub, site_exp[sub]))