Disable ubsan-minimal on Darwin.

Should un-break this bot:
http://green.lab.llvm.org/green//job/clang-stage1-configure-RA_build/38264/consoleFull

llvm-svn: 312036
This commit is contained in:
Evgeniy Stepanov 2017-08-29 21:15:08 +00:00
parent a88bce1bce
commit 3bafa546d0
3 changed files with 3 additions and 3 deletions

View File

@ -546,7 +546,7 @@ else()
endif()
if (COMPILER_RT_HAS_SANITIZER_COMMON AND UBSAN_SUPPORTED_ARCH AND
OS_NAME MATCHES "Darwin|Linux|FreeBSD|NetBSD|Android")
OS_NAME MATCHES "Linux|FreeBSD|NetBSD|Android")
set(COMPILER_RT_HAS_UBSAN_MINIMAL TRUE)
else()
set(COMPILER_RT_HAS_UBSAN_MINIMAL FALSE)

View File

@ -20,7 +20,7 @@ add_compiler_rt_object_libraries(RTUbsan_minimal
SOURCES ${UBSAN_MINIMAL_SOURCES} CFLAGS ${UBSAN_CFLAGS})
if(COMPILER_RT_HAS_UBSAN)
if(COMPILER_RT_HAS_UBSAN_MINIMAL)
# Initializer of standalone UBSan runtime.
# Standalone UBSan runtimes.

View File

@ -29,7 +29,7 @@ config.substitutions.append( ("%clangxx ", build_invocation(clang_ubsan_cxxflags
config.suffixes = ['.c', '.cc', '.cpp']
# Check that the host supports UndefinedBehaviorSanitizerMinimal tests
if config.host_os not in ['Darwin', 'Linux', 'FreeBSD', 'NetBSD']: # TODO: Windows
if config.host_os not in ['Linux', 'FreeBSD', 'NetBSD']: # TODO: Darwin, Windows
config.unsupported = True
config.available_features.add('arch=' + config.target_arch)