projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e75808c
)
Don't recalculate the stack position of the stack protector.
author
Bill Wendling
<isanbard@gmail.com>
Thu, 6 Nov 2008 21:37:09 +0000
(21:37 +0000)
committer
Bill Wendling
<isanbard@gmail.com>
Thu, 6 Nov 2008 21:37:09 +0000
(21:37 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58815
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/PrologEpilogInserter.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/PrologEpilogInserter.cpp
b/lib/CodeGen/PrologEpilogInserter.cpp
index 64529372c402d0566d289296811bf7951264af9e..6961c14d36c4f3eabb4bf32d3a59296be4c4e043 100644
(file)
--- a/
lib/CodeGen/PrologEpilogInserter.cpp
+++ b/
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.