forked from OSchip/llvm-project
[sanitizer] Move definition of stable-runtime to common lit config.
There are tests in sanitizer_common that are unconditionally disabled because they REQUIRE: stable-runtime which is never defined. llvm-svn: 245263
This commit is contained in:
parent
dea51da7a5
commit
d457df8008
|
@ -164,11 +164,6 @@ elif config.host_os == 'Linux':
|
|||
config.substitutions.append( ("%dynamiclib", '%T/lib%xdynamiclib_namespec.so') )
|
||||
config.substitutions.append( ("%xdynamiclib_namespec", '$(basename %t).dynamic') )
|
||||
|
||||
# Allow tests to use REQUIRES=stable-runtime. For use when you cannot use XFAIL
|
||||
# because the test hangs.
|
||||
if config.target_arch != 'arm' and config.target_arch != 'aarch64':
|
||||
config.available_features.add('stable-runtime')
|
||||
|
||||
# Turn on leak detection on 64-bit Linux.
|
||||
if config.host_os == 'Linux' and config.target_arch == 'x86_64':
|
||||
config.available_features.add('leak-detection')
|
||||
|
|
|
@ -111,6 +111,11 @@ if sanitizer_can_use_cxxabi:
|
|||
if config.has_lld:
|
||||
config.available_features.add('lld')
|
||||
|
||||
# Allow tests to use REQUIRES=stable-runtime. For use when you cannot use XFAIL
|
||||
# because the test hangs.
|
||||
if config.target_arch != 'arm' and config.target_arch != 'aarch64':
|
||||
config.available_features.add('stable-runtime')
|
||||
|
||||
lit.util.usePlatformSdkOnDarwin(config, lit_config)
|
||||
|
||||
def is_darwin_lto_supported():
|
||||
|
|
Loading…
Reference in New Issue