[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:
Kuba Brecka 2016-09-14 14:13:50 +00:00
parent d634df526d
commit eec85de4c0
1 changed files with 1 additions and 1 deletions

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