diff options
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/lib/CodeGen/PrologEpilogInserter.cpp | 2 | 
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/PrologEpilogInserter.cpp b/llvm/lib/CodeGen/PrologEpilogInserter.cpp index 64529372c40..6961c14d36c 100644 --- a/llvm/lib/CodeGen/PrologEpilogInserter.cpp +++ b/llvm/lib/CodeGen/PrologEpilogInserter.cpp @@ -442,6 +442,8 @@ void PEI::calculateFrameObjectOffsets(MachineFunction &Fn) {        continue;      if (FFI->isDeadObjectIndex(i))        continue; +    if (FFI->getStackProtectorIndex() == (int)i) +      continue;      // If stack grows down, we need to add size of find the lowest      // address of the object.  | 

