Update ABIMacOSX_arm::PrepareTrivialCall to correctly align the
authorJason Molenda <jmolenda@apple.com>
Wed, 27 Sep 2017 02:49:18 +0000 (02:49 +0000)
committerJason Molenda <jmolenda@apple.com>
Wed, 27 Sep 2017 02:49:18 +0000 (02:49 +0000)
commit1d23cb4e7e8dbdff6fd5d8b365b14964254ca243
tree56982f2a36ef23cecc6ad186301be7ac2a51ba29
parent30cd3011121f50531d37198c5a5da465e53d502b
Update ABIMacOSX_arm::PrepareTrivialCall to correctly align the
stack pointer for apple's armv7 ABI.  When in a frameless function
or in a prologue/epilogue where sp wasn't properly aligned, we could
try to make function calls with an unaligned sp; the expression
would crash.

llvm-svn: 314265
lldb/source/Plugins/ABI/MacOSX-arm/ABIMacOSX_arm.cpp