llvm-project/compiler-rt/test/cfi
Peter Collingbourne acf005676e Change the cap on the amount of padding for each vtable to 32-byte (previously it was 128-byte)
We tested different cap values with a recent commit of Chromium. Our results show that the 32-byte cap yields the smallest binary and all the caps yield similar performance.
Based on the results, we propose to change the cap value to 32-byte.

Patch by Zhaomo Yang!

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

llvm-svn: 337622
2018-07-20 21:43:20 +00:00
..
cross-dso [cfi] Use __builtin version of __clear_cache. 2018-06-29 17:22:58 +00:00
icall [cfi] Mark a test as unsupported on darwin. 2017-10-05 19:36:15 +00:00
CMakeLists.txt [compiler-rt] Add NewPM testing to CFI tests 2018-07-19 15:32:48 +00:00
README.txt Add tests for non-virtual call checking. 2015-04-02 00:33:36 +00:00
anon-namespace.cpp Use %run for running CFI tests 2017-10-02 10:21:26 +00:00
bad-cast.cpp Use %run for running CFI tests 2017-10-02 10:21:26 +00:00
bad-split.cpp Use %run for running CFI tests 2017-10-02 10:21:26 +00:00
base-derived-destructor.cpp Use %run for running CFI tests 2017-10-02 10:21:26 +00:00
create-derivers.test Change the cap on the amount of padding for each vtable to 32-byte (previously it was 128-byte) 2018-07-20 21:43:20 +00:00
cross-dso-diagnostic.cpp Correct the test modified in rL335777. 2018-06-28 15:24:34 +00:00
lit.cfg [ubsan] Re-commit: lit changes for lld testing, future lto testing. 2017-12-01 19:36:29 +00:00
lit.site.cfg.in [compiler-rt] Add NewPM testing to CFI tests 2018-07-19 15:32:48 +00:00
mfcall.cpp Mark mfcall.cpp as UNSUPPORTED: win32. 2018-06-26 02:59:22 +00:00
multiple-inheritance.cpp Use %run for running CFI tests 2017-10-02 10:21:26 +00:00
nvcall.cpp Use %run for running CFI tests 2017-10-02 10:21:26 +00:00
overwrite.cpp Use %run for running CFI tests 2017-10-02 10:21:26 +00:00
sibling.cpp Use %run for running CFI tests 2017-10-02 10:21:26 +00:00
simple-fail.cpp Use %run for running CFI tests 2017-10-02 10:21:26 +00:00
simple-pass.cpp cfi: Disable simple-pass.cpp on Darwin. 2018-03-09 20:41:56 +00:00
stats.cpp Enable PDB generation with lld in asan and cfi tests on Windows. 2017-11-17 19:49:41 +00:00
target_uninstrumented.cpp Fix test broken by r335644 2018-06-26 20:21:33 +00:00
two-vcalls.cpp Use %run for running CFI tests 2017-10-02 10:21:26 +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 Use %run for running CFI tests 2017-10-02 10:21:26 +00:00
vtable-may-alias.cpp LowerTypeTests: Give imported symbols a type with size 0 so that they are not assumed not to alias. 2017-10-13 21:02:16 +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.