summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/cfi-ms-rtti.cpp
Commit message (Collapse)AuthorAgeFilesLines
* CFI: Introduce -fsanitize=cfi-icall flag.Peter Collingbourne2015-09-101-2/+2
| | | | | | | | | | This flag causes the compiler to emit bit set entries for functions as well as runtime bitset checks at indirect call sites. Depends on the new function bitset mechanism. Differential Revision: http://reviews.llvm.org/D11857 llvm-svn: 247238
* CFI: Emit correct bit set information if RTTI is disabled under MS ABI.Peter Collingbourne2015-07-091-0/+12
We were previously creating bit set entries at virtual table offset sizeof(void*) unconditionally under the Microsoft C++ ABI. This is incorrect if RTTI data is disabled; in that case the "address point" is at offset 0. This change modifies bit set emission to take into account whether RTTI data is being emitted. Also make a start on a blacklisting scheme for records. Differential Revision: http://reviews.llvm.org/D11048 llvm-svn: 241845
OpenPOWER on IntegriCloud