[libcxx] r256591 - [libcxx] Fixing the Linux sanitizer builds
Ben Craig via cfe-commits
cfe-commits at lists.llvm.org
Tue Dec 29 14:43:17 PST 2015
Author: bcraig
Date: Tue Dec 29 16:43:17 2015
New Revision: 256591
URL: http://llvm.org/viewvc/llvm-project?rev=256591&view=rev
Log:
[libcxx] Fixing the Linux sanitizer builds
Modified:
libcxx/trunk/test/libcxx/test/target_info.py
Modified: libcxx/trunk/test/libcxx/test/target_info.py
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/libcxx/test/target_info.py?rev=256591&r1=256590&r2=256591&view=diff
==============================================================================
--- libcxx/trunk/test/libcxx/test/target_info.py (original)
+++ libcxx/trunk/test/libcxx/test/target_info.py Tue Dec 29 16:43:17 2015
@@ -142,7 +142,8 @@ class LinuxLocalTI(DefaultTargetInfo):
flags += ['-lunwind', '-ldl']
else:
flags += ['-lgcc_s', '-lgcc']
- if self.full_config.get_lit_bool('use_sanitizer', False):
+ san = self.get_lit_conf('use_sanitizer', '').strip()
+ if san:
# The libraries and their order are taken from the
# linkSanitizerRuntimeDeps function in
# clang/lib/Driver/Tools.cpp
More information about the cfe-commits
mailing list