da1cf9287c
This is an initial version of the runtime cross-DSO CFI support library. It contains a number of FIXMEs, ex. it does not support the diagnostic mode nor dlopen/dlclose, but it works and can be tested. Diagnostic mode, in particular, would require some refactoring (we'd like to gather all CFI hooks in the UBSan library into one function so that we could easier pass the diagnostic information down to __cfi_check). It will be implemented later. Once the diagnostic mode is in, I plan to create a second test configuration to run all existing tests in both modes. For now, this patch includes only a few new cross-DSO tests. llvm-svn: 255695 |
||
---|---|---|
.. | ||
cross-dso | ||
icall | ||
CMakeLists.txt | ||
README.txt | ||
anon-namespace.cpp | ||
bad-cast.cpp | ||
base-derived-destructor.cpp | ||
create-derivers.test | ||
lit.cfg | ||
lit.site.cfg.in | ||
multiple-inheritance.cpp | ||
nvcall.cpp | ||
overwrite.cpp | ||
sibling.cpp | ||
simple-fail.cpp | ||
simple-pass.cpp | ||
utils.h | ||
vdtor.cpp |
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.