forked from OSchip/llvm-project
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:
parent
a88bce1bce
commit
3bafa546d0
|
@ -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)
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue