[PATCH] CodeGen: introduce support for Windows SSP on x86/x64

Reid Kleckner rnk at google.com
Mon Dec 22 14:59:04 PST 2014


I don't think calling llvm.read_register("esp/rsp") in LLVM IR is going to work. There's no guarantee that the results of those calls will be the same in the prologue and the epilogue due to dynamic allocas.

If we want to get the right SP, we need to get CodeGen so we can put the check at the right point in the epilogue, prologue, and tail call sequence.


REPOSITORY
  rL LLVM

http://reviews.llvm.org/D6751

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the llvm-commits mailing list