llvm-project/compiler-rt/test/cfi
Ivan Krasin 97746d75bb CFI: add a test from base-to-derived cast from the base destructor.
Summary: This adds an interesting bad cast case, originally found in https://crbug.com/537398.

Reviewers: kcc

Subscribers: pcc

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

llvm-svn: 248958
2015-09-30 23:08:55 +00:00
..
icall CFI: Run the tests only on supported architectures/OSs. 2015-09-10 19:18:08 +00:00
CMakeLists.txt [cmake] Hoist check for LLD sources up into root CMakeLists.txt 2015-08-11 00:33:07 +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
base-derived-destructor.cpp CFI: add a test from base-to-derived cast from the base destructor. 2015-09-30 23:08:55 +00:00
create-derivers.test CFI: Update tests for various bit vector sizes following lowerbitsets optzns. 2015-07-29 18:12:45 +00:00
lit.cfg CFI: Add diagnostic handler and tests for indirect call checker. 2015-09-10 02:18:02 +00:00
lit.site.cfg.in
multiple-inheritance.cpp CFI: Update tests for various bit vector sizes following lowerbitsets optzns. 2015-07-29 18:12:45 +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: Update tests for various bit vector sizes following lowerbitsets optzns. 2015-07-29 18:12:45 +00:00
sibling.cpp CFI: Update tests for various bit vector sizes following lowerbitsets optzns. 2015-07-29 18:12:45 +00:00
simple-fail.cpp CFI: Update tests for various bit vector sizes following lowerbitsets optzns. 2015-07-29 18:12:45 +00:00
simple-pass.cpp Add tests for non-virtual call checking. 2015-04-02 00:33:36 +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.