summaryrefslogtreecommitdiffstats
path: root/compiler-rt/test/cfi/bad-cast.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Use %run for running CFI testsFilipe Cabecinhas2017-10-021-52/+52
| | | | | | | | | | Reviewers: pcc, krasin, eugenis Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D38412 llvm-svn: 314659
* CFI: Update tests for various bit vector sizes following lowerbitsets optzns.Peter Collingbourne2015-07-291-14/+1
| | | | | | | | Also add a test to ensure that this doesn't regress. Differential Revision: http://reviews.llvm.org/D11584 llvm-svn: 243547
* CFI: Get check-cfi passing on Windows.Peter Collingbourne2015-07-081-69/+69
| | | | | | | | | | | | | | | | | | | | 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
* [CFI] Run tests that use cfi diagnostic mode only if cxxabi parts of UBSan ↵Alexey Samsonov2015-06-251-0/+2
| | | | | | are available. llvm-svn: 240671
* Add control flow integrity diagnosis function to UBSan runtime library.Peter Collingbourne2015-06-191-0/+13
| | | | | | | | Also includes execution tests for the feature. Differential Revision: http://reviews.llvm.org/D10269 llvm-svn: 240111
* CFI: Remove <utility> include.Peter Collingbourne2015-05-191-1/+0
| | | | | | It is unused, and causes a test failure on Darwin. llvm-svn: 237746
* CFI: Add test for bad cast checks.Peter Collingbourne2015-03-141-0/+136
llvm-svn: 232242
OpenPOWER on IntegriCloud