summaryrefslogtreecommitdiff
path: root/test/cfi
diff options
context:
space:
mode:
authorHans Wennborg <hans@hanshq.net>2015-11-20 16:29:53 +0000
committerHans Wennborg <hans@hanshq.net>2015-11-20 16:29:53 +0000
commitafdaceaf9028f717207eb9b1a887f33206f773cd (patch)
treec93b16a3965ab45732a4bc8967739946b9dc7b4b /test/cfi
parent8dbf679e72e43d7c6b565417a8b0716943cb191b (diff)
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. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@253673 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/cfi')
-rw-r--r--test/cfi/lit.cfg5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/cfi/lit.cfg b/test/cfi/lit.cfg
index a9b8992ea..1f4d5c5db 100644
--- a/test/cfi/lit.cfg
+++ b/test/cfi/lit.cfg
@@ -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 '))