llvm-6502/test/LTO
Tom Roeder 63dea2c952 Add Forward Control-Flow Integrity.
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
2014-11-11 21:08:02 +00:00
..
Inputs LTO: introduce object file-based on-disk module format. 2014-09-18 21:28:49 +00:00
attrs.ll Add an -mattr option to the gold plugin to support subtarget features in LTO 2014-04-25 21:46:51 +00:00
bcsection.ll Try to fix i686-cygming bots. 2014-09-18 22:56:00 +00:00
cfi_endproc.ll
current-section.ll Provide a dummy section to fix a crash with inline assembly in LTO. 2014-01-22 22:11:14 +00:00
diagnostic-handler-remarks.ll LTO: Add missing target triple from r218784 2014-10-01 18:49:58 +00:00
jump-table-type.ll Add Forward Control-Flow Integrity. 2014-11-11 21:08:02 +00:00
keep-used-puts-during-instcombine.ll IR: Don't allow non-default visibility on local linkage 2014-05-07 22:57:20 +00:00
linkonce_odr_func.ll Don't internalize linkonce_odr non constant variables. 2014-02-07 19:04:43 +00:00
lit.local.cfg Reduce verbiage of lit.local.cfg files 2014-06-09 22:42:55 +00:00
no-undefined-puts-when-implemented.ll Change the default input for llvm-nm to be a.out instead of standard input 2014-06-23 20:27:53 +00:00
private-symbol.ll Add back r201608, r201622, r201624 and r201625 2014-02-19 17:23:20 +00:00
runtime-library.ll
symver-asm.ll This patch fixes LTO's RecordStreamer so that it records symbols in the MCExpr 2014-03-31 16:59:13 +00:00
triple-init.ll Resubmit r196544: Apply transformation on OS X 10.9+ and iOS 7.0+: pow(10, x) ―> __exp10(x) 2013-12-12 01:55:04 +00:00