Don't recalculate the stack position of the stack protector.
llvm-svn: 58815
This commit is contained in:
parent
8af0a362f1
commit
8b47c1e0a2
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue