summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/cfi-vcall-check-after-args.cpp
Commit message (Collapse)AuthorAgeFilesLines
* IRGen: Move vtable load after argument evaluation.Peter Collingbourne2018-02-051-0/+12
This change reduces the live range of the loaded function pointer, resulting in a slight code size decrease (~10KB in clang), and also improves the security of CFI for virtual calls by making it less likely that the function pointer will be spilled, and ensuring that it is not spilled across a function call boundary. Fixes PR35353. Differential Revision: https://reviews.llvm.org/D42725 llvm-svn: 324286
OpenPOWER on IntegriCloud