summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/cfi-icall.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [CFI] Add CFI-icall pointer type generalizationVlad Tsyrklevich2017-10-311-8/+11
| | | | | | | | | | | | | | | | | | | | | | | Summary: This change allows generalizing pointers in type signatures used for cfi-icall by enabling the -fsanitize-cfi-icall-generalize-pointers flag. This works by 1) emitting an additional generalized type signature metadata node for functions and 2) llvm.type.test()ing for the generalized type for translation units with the flag specified. This flag is incompatible with -fsanitize-cfi-cross-dso because it would require emitting twice as many type hashes which would increase artifact size. Reviewers: pcc, eugenis Reviewed By: pcc Subscribers: kcc Differential Revision: https://reviews.llvm.org/D39358 llvm-svn: 317044
* CodeGen: Update Clang to use the new type metadata.Peter Collingbourne2016-06-241-3/+6
| | | | | | Differential Revision: http://reviews.llvm.org/D21054 llvm-svn: 273730
* CFI: Introduce -fsanitize=cfi-icall flag.Peter Collingbourne2015-09-101-0/+23
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
OpenPOWER on IntegriCloud