mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-04 01:51:31 +00:00
Don't recalculate the stack position of the stack protector.
llvm-svn: 58815
This commit is contained in:
parent
8640fd500a
commit
26eadae94d
@ -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
Block a user