Re: [PATCH] riscv: eliminate unreliable __builtin_frame_address(1)

From: Andreas Schwab
Date: Wed Jan 19 2022 - 18:55:54 EST


On Jan 19 2022, Jessica Clarke wrote:

> What’s your point?

LLVM doesn't have to deal with the extra complexity.

> doesn’t mean other toolchains that do need that to be correct should
> just do something wrong.

__builtin_frame_address with count > 0 is considered bad. Nobody should
use it.

You don't have to be arrogant.

--
Andreas Schwab, schwab@xxxxxxxxxxxxxx
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for something completely different."