forked from OSchip/llvm-project
[libc++] Remove workaround for PR28391 (ODR violations with ASAN)
This is not an issue anymore since we don't build the libc++ dylib with C++14 anymore (see https://llvm.org/PR28391) for details. Differential Revision: https://reviews.llvm.org/D102106
This commit is contained in:
parent
ea68ad6e26
commit
cb82e8ea33
|
@ -490,9 +490,6 @@ class Configuration(object):
|
|||
self.cxx.flags += ['-fsanitize=address']
|
||||
if llvm_symbolizer is not None:
|
||||
self.exec_env['ASAN_SYMBOLIZER_PATH'] = llvm_symbolizer
|
||||
# FIXME: Turn ODR violation back on after PR28391 is resolved
|
||||
# https://llvm.org/PR28391
|
||||
self.exec_env['ASAN_OPTIONS'] = 'detect_odr_violation=0'
|
||||
self.config.available_features.add('asan')
|
||||
self.config.available_features.add('sanitizer-new-delete')
|
||||
self.cxx.compile_flags += ['-O1']
|
||||
|
|
Loading…
Reference in New Issue