[PATCH] D15774: [PEI] Calculate stack protector frame offset before local stack allocation.

Charlie Turner via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 24 10:56:28 PST 2015


chatur01 created this revision.
chatur01 added reviewers: void, grosbach, hfinkel, jmagee, sunfish.
chatur01 added a subscriber: llvm-commits.
chatur01 set the repository for this revision to rL LLVM.

`In cases where virtual frame index registers are used, make sure the canary is
calculated at an offset above those, otherwise it's placed in the wrong part of
the stack.

This was only causing problems with variable length arguments lists.

Fixes PR25610.`

Repository:
  rL LLVM

http://reviews.llvm.org/D15774

Files:
  lib/CodeGen/PrologEpilogInserter.cpp
  test/CodeGen/AArch64/stack-guard-vaarg.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D15774.43610.patch
Type: text/x-patch
Size: 4858 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151224/ef1939e6/attachment.bin>


More information about the llvm-commits mailing list