summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2015-11-20 21:16:00 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2015-11-20 21:16:00 +0000
commitd1988962402c086ae2a22ff439ee20ba7ea84d86 (patch)
treeab2e57b62d48b2d0992b729652ca2d632a3e3bfd
parent80ec0d3f5a14cc2bbfae01accffda3b41baa32d6 (diff)
downloadbcm5719-llvm-d1988962402c086ae2a22ff439ee20ba7ea84d86.tar.gz
bcm5719-llvm-d1988962402c086ae2a22ff439ee20ba7ea84d86.zip
Re-enable CFI tests on Windows.
Clang driver was fixed in r253707. llvm-svn: 253712
-rw-r--r--compiler-rt/test/cfi/lit.cfg5
1 files changed, 1 insertions, 4 deletions
diff --git a/compiler-rt/test/cfi/lit.cfg b/compiler-rt/test/cfi/lit.cfg
index 1f4d5c5dbbc..a9b8992ea10 100644
--- a/compiler-rt/test/cfi/lit.cfg
+++ b/compiler-rt/test/cfi/lit.cfg
@@ -8,10 +8,7 @@ config.test_source_root = os.path.dirname(__file__)
clangxx = ' '.join([config.clang] + config.cxx_mode_flags)
config.substitutions.append((r"%clangxx ", clangxx + ' '))
-if config.host_os == 'Windows':
- # FIXME: Keep these tests working on Windows.
- config.unsupported = True
-elif config.lto_supported:
+if 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 '))
OpenPOWER on IntegriCloud