LukeCheeseman added inline comments.
================ Comment at: include/clang/Frontend/CodeGenOptions.h:114 + Partial, // Sign the return address of functions that spill LR + All // Sign the return address of all functions + }; ---------------- kcc wrote: > what's the purpose of signing LR if it is not spilled? Assuming you are in a context where you have managed to gain control of the flow of execution. If you don't sign functions that spill LR then those functions become good candidates for finding gadgets as now execution can start from any point in that function. https://reviews.llvm.org/D49793 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits