Re: [PATCH RFC v2 5/5] lib/Kconfig.debug: introduce CONFIG_NO_AUTO_INLINE

From: Bart Van Assche
Date: Wed Apr 16 2025 - 12:05:46 EST


On 4/16/25 2:44 AM, Chen Linxuan via B4 Relay wrote:
2. Make it depends on X86 and LOONGARCH,
as I haven't test other architectures

That sounds weird to me. Shouldn't this option be made architecture-
independent?

+config NO_AUTO_INLINE
+ bool "Disable compiler auto-inline optimizations (EXPERIMENTAL)"
+ default n
+ depends on CC_IS_GCC && (X86 || LOONGARCH)

Why "depends on CC_IS_GCC"? Please make sure that both gcc and clang are
supported.

Thanks,

Bart.