On 3/12/24 04:24, Nicholas Piggin wrote:
Beware -- GETPC() may only be called from the outermost helper.

Ah, because it's using __builtin_return_address. Good to know.
Using always_inline and a comment should do the trick then.

No, seriously just don't do it.

Pass an argument 'uintptr_t ra' to these helpers instead. This should be especially easy given the macro you want to drive this.


r~

Reply via email to