]> www.infradead.org Git - users/jedix/linux-maple.git/commit
compiler_types: Identify compiler versions for __builtin_dynamic_object_size
authorKees Cook <kees@kernel.org>
Wed, 16 Apr 2025 17:20:20 +0000 (10:20 -0700)
committerKees Cook <kees@kernel.org>
Mon, 28 Apr 2025 17:32:43 +0000 (10:32 -0700)
commita510c186abfc870e5c74cf953b646c8a2c07bee1
treeb2556de4fa96acb35a18f1c522efb0a0982a4ff6
parent0d6efa20e384a41a7f4afdcd8a0aec442c19d33e
compiler_types: Identify compiler versions for __builtin_dynamic_object_size

Clarify when __builtin_dynamic_object_size() is available. All our
supported Clang versions support it. GCC 12 and later support it. Link
to documentation for both.

Acked-by: Miguel Ojeda <ojeda@kernel.org>
Link: https://lore.kernel.org/r/20250416172016.work.154-kees@kernel.org
Signed-off-by: Kees Cook <kees@kernel.org>
include/linux/compiler_types.h