diff options
| author | Benjamin Kramer <benny.kra@googlemail.com> | 2010-02-04 18:40:11 +0000 |
|---|---|---|
| committer | Benjamin Kramer <benny.kra@googlemail.com> | 2010-02-04 18:40:11 +0000 |
| commit | 72d36b59bef9f912a4d6804ab14b3ca8580993a1 (patch) | |
| tree | 913dd55ec17715e0d2f72d5a32accc18a8d605cc /llvm | |
| parent | c42075a164468aa35e30c7ea5f158d0f825aca21 (diff) | |
| download | bcm5719-llvm-72d36b59bef9f912a4d6804ab14b3ca8580993a1.tar.gz bcm5719-llvm-72d36b59bef9f912a4d6804ab14b3ca8580993a1.zip | |
Get the LLVMC tests working with clang++ by removing the problematic CXXFLAG in lit.
llvm-svn: 95318
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/test/lit.cfg | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/test/lit.cfg b/llvm/test/lit.cfg index 3b45bf9bd3b..0894d9b38ae 100644 --- a/llvm/test/lit.cfg +++ b/llvm/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])) |

