mirror of
https://github.com/darlinghq/darling-libcxx.git
synced 2024-12-13 14:46:26 +00:00
Turn off ASAN's odr-violation diagnostics for now. See PR28391
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@274404 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
1eb8739a33
commit
e8b134c1bc
@ -607,6 +607,9 @@ class Configuration(object):
|
||||
self.cxx.flags += ['-fsanitize=address']
|
||||
if llvm_symbolizer is not None:
|
||||
self.env['ASAN_SYMBOLIZER_PATH'] = llvm_symbolizer
|
||||
# FIXME: Turn ODR violation back on after PR28391 is resolved
|
||||
# https://llvm.org/bugs/show_bug.cgi?id=28391
|
||||
self.env['ASAN_OPTIONS'] = 'detect_odr_violation=0'
|
||||
self.config.available_features.add('asan')
|
||||
self.config.available_features.add('sanitizer-new-delete')
|
||||
elif san == 'Memory' or san == 'MemoryWithOrigins':
|
||||
|
Loading…
Reference in New Issue
Block a user