[libcxx] Fixing the Linux sanitizer builds
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@256591 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user