[libcxx] Fix a typo in test/libcxx/test/target_info.py that prevents running tests on Darwin with sanitizers
Differential Revision: https://reviews.llvm.org/D24297 llvm-svn: 281476
This commit is contained in:
parent
d634df526d
commit
eec85de4c0
|
@ -115,7 +115,7 @@ class DarwinLocalTI(DefaultTargetInfo):
|
|||
return False
|
||||
|
||||
def add_sanitizer_features(self, sanitizer_type, features):
|
||||
if san == 'Undefined':
|
||||
if sanitizer_type == 'Undefined':
|
||||
features.add('sanitizer-new-delete')
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue