[compiler-rt] r253712 - Re-enable CFI tests on Windows.
Peter Collingbourne via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 20 13:16:00 PST 2015
Author: pcc
Date: Fri Nov 20 15:16:00 2015
New Revision: 253712
URL: http://llvm.org/viewvc/llvm-project?rev=253712&view=rev
Log:
Re-enable CFI tests on Windows.
Clang driver was fixed in r253707.
Modified:
compiler-rt/trunk/test/cfi/lit.cfg
Modified: compiler-rt/trunk/test/cfi/lit.cfg
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/cfi/lit.cfg?rev=253712&r1=253711&r2=253712&view=diff
==============================================================================
--- compiler-rt/trunk/test/cfi/lit.cfg (original)
+++ compiler-rt/trunk/test/cfi/lit.cfg Fri Nov 20 15:16:00 2015
@@ -8,10 +8,7 @@ config.test_source_root = os.path.dirnam
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 '))
More information about the llvm-commits
mailing list