Add -O3 when testing with UBSAN. This triggers far undefined behaviour
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@221964 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2138b18080
commit
05123a8d9f
@ -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 '
|
||||
|
Loading…
x
Reference in New Issue
Block a user