[libcxx] r221964 - Add -O3 when testing with UBSAN. This triggers far undefined behaviour
Eric Fiselier
eric at efcs.ca
Thu Nov 13 18:07:52 PST 2014
Author: ericwf
Date: Thu Nov 13 20:07:52 2014
New Revision: 221964
URL: http://llvm.org/viewvc/llvm-project?rev=221964&view=rev
Log:
Add -O3 when testing with UBSAN. This triggers far undefined behaviour
Modified:
libcxx/trunk/test/lit.cfg
Modified: libcxx/trunk/test/lit.cfg
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/lit.cfg?rev=221964&r1=221963&r2=221964&view=diff
==============================================================================
--- libcxx/trunk/test/lit.cfg (original)
+++ libcxx/trunk/test/lit.cfg Thu Nov 13 20:07:52 2014
@@ -439,7 +439,7 @@ class Configuration(object):
elif san == 'Undefined':
self.compile_flags += ['-fsanitize=undefined',
'-fno-sanitize=vptr,function',
- '-fno-sanitize-recover']
+ '-fno-sanitize-recover', '-O3']
self.config.available_features.add('ubsan')
else:
self.lit_config.fatal('unsupported value for '
More information about the cfe-commits
mailing list