hanchenye-llvm-project/compiler-rt/test/cfi
Peter Collingbourne 702548d9ea CFI: Get check-cfi passing on Windows.
Specifically:

- Start using %expect_crash.

- Provide an implementation of __ubsan::getDynamicTypeInfoFromVtable
  for the Microsoft C++ ABI. This is all that is needed for CFI
  diagnostics; UBSan's -fsanitize=vptr also requires an implementation of
  __ubsan::checkDynamicType.

- Build the sanitizer runtimes against the release version of the C
  runtime, even in debug builds.

- Accommodate demangling differences in tests.

Differential Revision: http://reviews.llvm.org/D11029

llvm-svn: 241745
2015-07-08 22:10:34 +00:00
..
CMakeLists.txt CFI: Get check-cfi passing on Windows. 2015-07-08 22:10:34 +00:00
README.txt Add tests for non-virtual call checking. 2015-04-02 00:33:36 +00:00
anon-namespace.cpp CFI: Get check-cfi passing on Windows. 2015-07-08 22:10:34 +00:00
bad-cast.cpp CFI: Get check-cfi passing on Windows. 2015-07-08 22:10:34 +00:00
lit.cfg Add -flto to clang flags for cfi tests. 2015-06-19 19:48:40 +00:00
lit.site.cfg.in
multiple-inheritance.cpp CFI: Get check-cfi passing on Windows. 2015-07-08 22:10:34 +00:00
nvcall.cpp CFI: Get check-cfi passing on Windows. 2015-07-08 22:10:34 +00:00
overwrite.cpp CFI: Get check-cfi passing on Windows. 2015-07-08 22:10:34 +00:00
sibling.cpp CFI: Get check-cfi passing on Windows. 2015-07-08 22:10:34 +00:00
simple-fail.cpp CFI: Get check-cfi passing on Windows. 2015-07-08 22:10:34 +00:00
simple-pass.cpp Add tests for non-virtual call checking. 2015-04-02 00:33:36 +00:00
utils.h
vdtor.cpp CFI: Get check-cfi passing on Windows. 2015-07-08 22:10:34 +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.