Add control flow integrity diagnosis function to UBSan runtime library.
authorPeter Collingbourne <peter@pcc.me.uk>
Fri, 19 Jun 2015 01:52:55 +0000 (01:52 +0000)
committerPeter Collingbourne <peter@pcc.me.uk>
Fri, 19 Jun 2015 01:52:55 +0000 (01:52 +0000)
commit175d633271c3b76535474168522578ca244aae5d
treeeca68627f530a375f36a65ccab527e7dbf1c039b
parent2c4555ad1b6e60c79318350fa54cca78e2288967
Add control flow integrity diagnosis function to UBSan runtime library.

Also includes execution tests for the feature.

Differential Revision: http://reviews.llvm.org/D10269

llvm-svn: 240111
13 files changed:
compiler-rt/lib/ubsan/ubsan_handlers_cxx.cc
compiler-rt/lib/ubsan/ubsan_handlers_cxx.h
compiler-rt/lib/ubsan/ubsan_type_hash.cc
compiler-rt/lib/ubsan/ubsan_type_hash.h
compiler-rt/test/cfi/CMakeLists.txt
compiler-rt/test/cfi/anon-namespace.cpp
compiler-rt/test/cfi/bad-cast.cpp
compiler-rt/test/cfi/lit.cfg
compiler-rt/test/cfi/multiple-inheritance.cpp
compiler-rt/test/cfi/nvcall.cpp
compiler-rt/test/cfi/overwrite.cpp
compiler-rt/test/cfi/simple-fail.cpp
compiler-rt/test/cfi/vdtor.cpp