Peter Collingbourne
c6c660b3dd
Factor out LTO detection to common configuration.
...
This will allow us to test other sanitizers with LTO.
llvm-svn: 237747
2015-05-19 23:50:13 +00:00
Peter Collingbourne
47b4e4ca01
CFI: Remove <utility> include.
...
It is unused, and causes a test failure on Darwin.
llvm-svn: 237746
2015-05-19 23:50:11 +00:00
Peter Collingbourne
7881648a4e
Add tests for non-virtual call checking.
...
Differential Revision: http://reviews.llvm.org/D8792
llvm-svn: 233876
2015-04-02 00:33:36 +00:00
Peter Collingbourne
3fc1563ad7
CFI: Make check-cfi depend on libLTO on Darwin.
...
llvm-svn: 232426
2015-03-16 22:00:04 +00:00
Peter Collingbourne
678e78ca95
CFI: Add test for bad cast checks.
...
llvm-svn: 232242
2015-03-14 02:42:39 +00:00
Peter Collingbourne
ca1c7793b1
CFI: Add a test for distinguishing between non-overriding siblings.
...
llvm-svn: 232238
2015-03-14 01:35:33 +00:00
Peter Collingbourne
4be9b40091
CFI: Add a check-cfi-and-supported rule.
...
This rule works like check-cfi, but fails if the tests are unsupported.
This is useful to run on bots if we want to be sure that the tests aren't
silently being skipped.
llvm-svn: 230536
2015-02-25 20:14:05 +00:00
Peter Collingbourne
6b0d0464a8
Run simple-fail.cpp at -O{1,2,3}.
...
It's probably overkill to run the other tests at -O* given the increasing
combinatorial explosion.
llvm-svn: 230117
2015-02-21 01:48:51 +00:00
Peter Collingbourne
f1d13da249
CFI: Add tests for 32-bit, 64-bit and memory bitsets. Break optimization in more places.
...
llvm-svn: 230116
2015-02-21 01:36:08 +00:00
Peter Collingbourne
e0c4f7eb81
Add test suite for the Control Flow Integrity feature.
...
Differential Revision: http://reviews.llvm.org/D7738
llvm-svn: 230056
2015-02-20 20:31:18 +00:00