Disable the cfi tests on Windows

They are currently broken and there seems to be no bot coverage
for this configuration so it's essentially unspported.

llvm-svn: 253673
This commit is contained in:
Hans Wennborg 2015-11-20 16:29:53 +00:00
parent f95b1f4546
commit 43db5b7daa
1 changed files with 4 additions and 1 deletions

View File

@ -8,7 +8,10 @@ config.test_source_root = os.path.dirname(__file__)
clangxx = ' '.join([config.clang] + config.cxx_mode_flags)
config.substitutions.append((r"%clangxx ", clangxx + ' '))
if config.lto_supported:
if config.host_os == 'Windows':
# FIXME: Keep these tests working on Windows.
config.unsupported = True
elif config.lto_supported:
clangxx_cfi = ' '.join(config.lto_launch + [clangxx] + config.lto_flags + ['-flto -fsanitize=cfi '])
config.substitutions.append((r"%clangxx_cfi ", clangxx_cfi))
config.substitutions.append((r"%clangxx_cfi_diag ", clangxx_cfi + '-fno-sanitize-trap=cfi -fsanitize-recover=cfi '))