forked from OSchip/llvm-project
Fix check-all with -DLLVM_USE_SANITIZER=Address
This commit is contained in:
parent
77133cc1e2
commit
c06417b24d
|
@ -8,6 +8,9 @@
|
|||
// implementation limits, just disable the test.
|
||||
// UNSUPPORTED: system-netbsd
|
||||
|
||||
// asan has own stack-overflow check.
|
||||
// UNSUPPORTED: asan
|
||||
|
||||
// expected-warning@* 0-1{{stack nearly exhausted}}
|
||||
// expected-note@* 0+{{}}
|
||||
|
||||
|
|
|
@ -650,7 +650,7 @@ endif()
|
|||
|
||||
# TODO: Add builtins support.
|
||||
|
||||
if (CRT_SUPPORTED_ARCH AND OS_NAME MATCHES "Linux")
|
||||
if (CRT_SUPPORTED_ARCH AND OS_NAME MATCHES "Linux" AND NOT LLVM_USE_SANITIZER)
|
||||
set(COMPILER_RT_HAS_CRT TRUE)
|
||||
else()
|
||||
set(COMPILER_RT_HAS_CRT FALSE)
|
||||
|
|
|
@ -1,2 +1,7 @@
|
|||
if (not 'ld_plugin' in config.available_features):
|
||||
if (not 'ld_plugin' in config.available_features):
|
||||
config.unsupported = True
|
||||
|
||||
# gold can't load instrumented plugin.
|
||||
for san in ['asan', 'msan', 'ubsan']:
|
||||
if (san in config.available_features):
|
||||
config.unsupported = True
|
||||
|
|
Loading…
Reference in New Issue