[RFC PATCH 12/17] gcc-plugins: objtool: Add plugin to detect switch table on arm64
Daniel.Kiss at arm.com
Tue Feb 9 11:30:17 EST 2021
> On 3 Feb 2021, at 00:01, Nick Desaulniers <ndesaulniers at google.com> wrote:
> I wonder if PAC or BTI also make this slightly more complex? PAC at
> least has implications for unwinders, IIUC.
BTI has effect on the jump target\case because a landing pad is required for each and every target.
As I see that would not hurt here.
The unwinder shall take care of the PAC signed return address if reads the LR from the stack.
DWARF contains an entry where the LR is got signed\authenticated.
I’m wondering would be simpler or possible to transform the DWARD to ORC.
More information about the linux-arm-kernel