[arm] amend stack pointer properly in exception trampoline (mono/mono#14310)
authorBernhard Urban <lewurm@gmail.com>
Thu, 2 May 2019 17:48:41 +0000 (19:48 +0200)
committerJo Shields <joshield@microsoft.com>
Thu, 2 May 2019 17:48:41 +0000 (13:48 -0400)
commite6b95e10accec3a5d2cd1046f0019bea6fe6b2b0
tree5748b95d6bf333d9248ca15acac543d07eb7ab67
parentbd35282a15c8e7b98b59e9f0748868e618e26fd7
[arm] amend stack pointer properly in exception trampoline (mono/mono#14310)

The previous attempt ( https://github.com/mono/mono/pull/14078 ) only fixed it for ABIs where the stack pointer alignment is 8 bytes. ABIs, such as watchOS, require 16 byte alignment.

Commit migrated from https://github.com/mono/mono/commit/1cbd5cbacf12114f6a9e26231733bad959e45050
src/mono/mono/mini/exceptions-arm.c