llvm-project/compiler-rt/test/cfi
Peter Collingbourne d13d61fdb4 ubsan: Unbreak ubsan_cxx runtime library on Windows.
This was originally broken by r258744 which introduced a weak reference
from ubsan to ubsan_cxx. This reference does not work directly on
Windows because COFF has no direct concept of weak symbols. The fix is
to use /alternatename to create a weak external reference to ubsan_cxx.

Also fix the definition (and the name, so that we drop cached values)
of the cmake flag that controls whether to build ubsan_cxx. Now the
user-controllable flag is always on, and we turn it off internally
depending on whether we support building it.

Differential Revision: https://reviews.llvm.org/D37882

llvm-svn: 313391
2017-09-15 20:24:12 +00:00
..
cross-dso [cfi] Enable icall tests with thinlto. 2017-06-16 00:18:35 +00:00
icall [cfi] Enable icall tests with thinlto. 2017-06-16 00:18:35 +00:00
CMakeLists.txt cfi: Enable ThinLTO tests on Windows. 2017-09-15 18:55:35 +00:00
README.txt Add tests for non-virtual call checking. 2015-04-02 00:33:36 +00:00
anon-namespace.cpp CFI: Update tests for various bit vector sizes following lowerbitsets optzns. 2015-07-29 18:12:45 +00:00
bad-cast.cpp CFI: Update tests for various bit vector sizes following lowerbitsets optzns. 2015-07-29 18:12:45 +00:00
bad-split.cpp [cfi] Disable bad-split test on win32. 2017-03-14 20:02:42 +00:00
base-derived-destructor.cpp CFI: try to make test/cfi/base-derived-destructor.cpp pass on Windows 2015-11-09 14:25:08 +00:00
create-derivers.test [cfi] Add explicit -flto in create-derivers test. 2017-04-20 21:44:37 +00:00
lit.cfg [cfi] Run tests with and without lld and thinlto. 2017-04-21 18:11:23 +00:00
lit.site.cfg.in [cfi] Run tests with and without lld and thinlto. 2017-04-21 18:11:23 +00:00
multiple-inheritance.cpp Reverting r277632 as it breaks the build on MacOS. 2016-08-05 03:18:27 +00:00
nvcall.cpp CFI: Update tests for various bit vector sizes following lowerbitsets optzns. 2015-07-29 18:12:45 +00:00
overwrite.cpp cfi: Start testing CFI in both standalone and devirtualization modes. 2016-06-25 00:24:22 +00:00
sibling.cpp fix trivial typo; NFC 2017-07-01 08:58:47 +00:00
simple-fail.cpp Add compiler-rt side test for no_sanitize("cfi") attribute 2016-08-12 17:26:37 +00:00
simple-pass.cpp Reverting r277632 as it breaks the build on MacOS. 2016-08-05 03:18:27 +00:00
stats.cpp Use lld-link /nopdb to suppress PDB generation when DWARF is required 2017-03-22 19:49:29 +00:00
target_uninstrumented.cpp ubsan: Unbreak ubsan_cxx runtime library on Windows. 2017-09-15 20:24:12 +00:00
two-vcalls.cpp CFI: add XFAIL test for a future optimization of two vcalls. 2016-08-05 01:45:54 +00:00
utils.h CFI: Update tests for various bit vector sizes following lowerbitsets optzns. 2015-07-29 18:12:45 +00:00
vdtor.cpp CFI: Update tests for various bit vector sizes following lowerbitsets optzns. 2015-07-29 18:12:45 +00:00

README.txt

The tests in this directory use a common convention for exercising the
functionality associated with bit sets of different sizes. When certain
macros are defined the tests instantiate classes that force the bit sets
to be of certain sizes.

- B32 forces 32-bit bit sets.
- B64 forces 64-bit bit sets.
- BM forces memory bit sets.