summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/ubsan/ubsan_handlers_cxx.h
Commit message (Collapse)AuthorAgeFilesLines
* Update the file headers across all of the LLVM projects in the monorepoChandler Carruth2019-01-191-4/+3
| | | | | | | | | | | | | | | | | to reflect the new license. We understand that people may be surprised that we're moving the header entirely to discuss the new license. We checked this carefully with the Foundation's lawyer and we believe this is the correct approach. Essentially, all code in the project is now made available by the LLVM project under our new license, so you will see that the license headers include that license only. Some of our contributors have contributed code under our old license, and accordingly, we have retained a copy of our old license notice in the top-level files in each project and repository. llvm-svn: 351636
* [cfi] Cross-DSO CFI diagnostic mode (compiler-rt part)Evgeniy Stepanov2016-01-251-14/+0
| | | | | | | | | | | | | | | * add __cfi_slowpath_diag with a 3rd parameter which is a pointer to the diagnostic info for the ubsan handlers. *__cfi_check gets a 3rd parameter as well. * unify vcall/cast/etc and icall diagnostic info format, and merge the handlers to have a single entry point (actually two points due to abort/noabort variants). * tests Note that this comes with a tiny overhead in the non-diag mode: cfi_slowpath must pass 0 as the 3rd argument to cfi_check. llvm-svn: 258744
* 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
* [ubsan] Move attribute specifier to fix build with gcc.Will Dietz2013-01-101-4/+4
| | | | llvm-svn: 172078
* [ubsan] Give entry methods default (not hidden) visibility.Will Dietz2013-01-101-0/+2
| | | | | | Fixes using ubsan on shared libraries in linux, for example. llvm-svn: 172041
* [ubsan] Refactor handlers to have separate entry points for aborting.Will Dietz2012-12-021-0/+2
| | | | | | | | | If user specifies aborting after a recoverable failed check is appropriate, frontend should emit call to the _abort variant. Test this behavior with newly added -fsanitize-recover flag. llvm-svn: 169113
* -fcatch-undefined-behavior checking for appropriate vptr value: library side.Richard Smith2012-10-251-0/+36
llvm-svn: 166660
OpenPOWER on IntegriCloud