diff options
author | Manman Ren <mren@apple.com> | 2012-12-04 00:52:33 +0000 |
---|---|---|
committer | Manman Ren <mren@apple.com> | 2012-12-04 00:52:33 +0000 |
commit | f563941adc2738149110c7e53f7dd0a8510cef65 (patch) | |
tree | 0a1fc70bdf6e855530c1fd0d7116a98ea1ea2a4a /lldb/scripts/Python/edit-swig-python-wrapper-file.py | |
parent | bac8ae6506317aae89da6b9405dcf555211217df (diff) | |
download | llvm-f563941adc2738149110c7e53f7dd0a8510cef65.zip llvm-f563941adc2738149110c7e53f7dd0a8510cef65.tar.gz llvm-f563941adc2738149110c7e53f7dd0a8510cef65.tar.bz2 |
Stack Alignment: when creating stack objects in MachineFrameInfo, make sure
the alignment is clamped to TargetFrameLowering.getStackAlignment if the target
does not support stack realignment or the option "realign-stack" is off.
This will cause miscompile if the address is treated as aligned and add is
replaced with or in DAGCombine.
Added a bool StackRealignable to TargetFrameLowering to check whether stack
realignment is implemented for the target. Also added a bool RealignOption
to MachineFrameInfo to check whether the option "realign-stack" is on.
rdar://12713765
llvm-svn: 169197
Diffstat (limited to 'lldb/scripts/Python/edit-swig-python-wrapper-file.py')
0 files changed, 0 insertions, 0 deletions