[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



git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@281476 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Kuba Brecka
2016-09-14 14:13:50 +00:00
parent 847eaf4e0b
commit ccf71001cf

View File

@@ -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')