aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@apple.com>2009-09-24 16:42:27 +0000
committerBob Wilson <bob.wilson@apple.com>2009-09-24 16:42:27 +0000
commit92244901c3c0101b8114ffa52c1dcf0e9cda72a1 (patch)
treef77fd6810eb527db843f18c2a84a688def61a4ac /examples
parentef534da2d0f3316b5ad378a00899e8d127362b5d (diff)
downloadexternal_llvm-92244901c3c0101b8114ffa52c1dcf0e9cda72a1.zip
external_llvm-92244901c3c0101b8114ffa52c1dcf0e9cda72a1.tar.gz
external_llvm-92244901c3c0101b8114ffa52c1dcf0e9cda72a1.tar.bz2
Fix a hypothetical problem for targets with StackGrowsUp and a non-zero
LocalAreaOffset. (We don't have any of those right now.) PEI::calculateFrameObjectOffsets includes the absolute value of the LocalAreaOffset in the cumulative offset value used to calculate the stack frame size. It then adds the raw value of the LocalAreaOffset to the stack size. For a StackGrowsDown target, that raw value is negative and has the effect of cancelling out the absolute value that was added earlier, but that obviously won't work for a StackGrowsUp target. Change to subtract the absolute value of the LocalAreaOffset. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82693 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions