RFR: 8266749: AArch64: Backtracing broken on PAC enabled systems [v3]

Alan Hayward github.com+4146708+a74nh at openjdk.java.net
Thu May 27 10:30:42 UTC 2021


On Tue, 25 May 2021 19:28:53 GMT, Gerard Ziemski <gziemski at openjdk.org> wrote:

> I see this pattern repeating:
> 
> ```
>    address sender_pc = this->sender_pc();
>    // Interpreter should never sign the return address.
>    assert(pauth_ptr_is_raw(sender_pc), "cannot be signed");
> 
>    return frame(sender_sp, unextended_sp, link(), sender_pc);
> ```
> 
> Why can't we just add the **assert** to the **frame()** constructor instead?

I've made this change.

-------------

PR: https://git.openjdk.java.net/jdk/pull/4029


More information about the hotspot-dev mailing list