1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-02-01 13:11:39 +01:00
Keith Walker 894061e4f5 [ARM] unwinding .pad instructions missing in execute-only prologue
If the stack pointer is altered for local variables and we are generating
Thumb2 execute-only code the .pad directive is missing.

Usually the size of the adjustment is stored in a PC-relative location
and loaded into a register which is then added to the stack pointer.
However when we are generating execute-only code code the size of the
adjustment is instead generated using the MOVW/MOVT instruction pair.

As a by product of handling the execute-only case this also fixes an
existing issue that in the none execute-only case the .pad directive was
generated against the load of the constant to a register instruction,
instead of the instruction which adds the register to the stack pointer.

Differential Revision: https://reviews.llvm.org/D76849
2020-04-07 11:51:59 +01:00
..
2019-09-17 14:21:36 +00:00
2019-06-28 08:41:40 +00:00
2019-06-28 07:08:42 +00:00
2020-02-27 12:19:31 +00:00
2020-02-27 12:19:31 +00:00
2019-08-28 10:13:23 +00:00
2019-08-28 10:13:23 +00:00
2020-03-30 07:44:23 +01:00
2020-03-30 07:44:23 +01:00
2020-02-27 12:19:31 +00:00
2020-01-20 06:57:07 +00:00
2019-07-15 18:42:54 +00:00
2020-02-27 12:19:31 +00:00
2020-03-30 07:44:23 +01:00
2019-08-28 10:13:23 +00:00
2019-08-28 10:13:23 +00:00
2020-03-30 07:44:23 +01:00
2020-04-02 10:57:40 +01:00
2019-08-28 10:13:23 +00:00
2019-12-02 10:38:14 +00:00
2020-01-20 06:57:07 +00:00
2020-01-20 06:57:07 +00:00
2020-01-20 06:57:07 +00:00
2020-02-28 14:27:21 +00:00
2020-04-02 10:57:40 +01:00
2020-04-02 10:57:40 +01:00
2020-04-06 11:13:02 +01:00
2020-01-20 06:57:07 +00:00
2020-01-20 06:57:07 +00:00
2020-01-20 06:57:07 +00:00
2020-01-20 06:57:07 +00:00
2019-01-10 08:36:33 +00:00
2019-07-27 18:44:15 +00:00
2019-11-20 13:58:38 +00:00
2019-11-25 11:29:14 +00:00