Re: [tip: x86/asm] x86/asm: Make ASM_CALL_CONSTRAINT conditional on frame pointers

From: Linus Torvalds
Date: Tue Mar 04 2025 - 15:14:19 EST


On Tue, 4 Mar 2025 at 09:56, Josh Poimboeuf <jpoimboe@xxxxxxxxxx> wrote:
>
> While that may be theoretically true, the reality is that it produces
> better code for Clang.

Does clang even need it? Last we did any changes for clang, it wasn't
because clang needed the marker at all, it was because clang was
unhappy with the stack pointer register define being local.

Linus