mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-04 22:07:27 +00:00
63dea2c952
This commit adds a new pass that can inject checks before indirect calls to make sure that these calls target known locations. It supports three types of checks and, at compile time, it can take the name of a custom function to call when an indirect call check fails. The default failure function ignores the error and continues. This pass incidentally moves the function JumpInstrTables::transformType from private to public and makes it static (with a new argument that specifies the table type to use); this is so that the CFI code can transform function types at call sites to determine which jump-instruction table to use for the check at that site. Also, this removes support for jumptables in ARM, pending further performance analysis and discussion. Review: http://reviews.llvm.org/D4167 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@221708 91177308-0d34-0410-b5e6-96231b3b80d8 |
||
---|---|---|
.. | ||
Inputs | ||
attrs.ll | ||
bcsection.ll | ||
cfi_endproc.ll | ||
current-section.ll | ||
diagnostic-handler-remarks.ll | ||
jump-table-type.ll | ||
keep-used-puts-during-instcombine.ll | ||
linkonce_odr_func.ll | ||
lit.local.cfg | ||
no-undefined-puts-when-implemented.ll | ||
private-symbol.ll | ||
runtime-library.ll | ||
symver-asm.ll | ||
triple-init.ll |