[PATCH] Add an option to allow JumpInstrTables to set unnamed_addr and jumptable on all address-taken functions
tmroeder at google.com
Thu Jun 12 13:52:07 PDT 2014
This small patch adds a new command flag -jump-table-all and an associated TargetOptions field JumpTableAll, and it modifies JumpInstrTables to add unnamed_addr and jumptable to all address-taken functions if the flag is set.
This is important for applications like my implementation of control-flow integrity, which want to operate over all address-taken functions and not just the ones that happened to have been marked jumptable.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 6970 bytes
Desc: not available
More information about the llvm-commits