Commit 1c8ad988 authored by Matthew Maurer's avatar Matthew Maurer Committed by Giuliano Procida
Browse files

UPSTREAM: rust: kbuild: do not export generated KASAN ODR symbols



ASAN generates special synthetic symbols to help check for ODR
violations. These synthetic symbols lack debug information, so
gendwarfksyms emits warnings when processing them. No code should ever
have a dependency on these symbols, so we should not be exporting them,
just like the __cfi symbols.

Signed-off-by: default avatarMatthew Maurer <mmaurer@google.com>
Reviewed-by: default avatarAlice Ryhl <aliceryhl@google.com>
Link: https://lore.kernel.org/r/20250122-gendwarfksyms-kasan-rust-v1-1-5ee5658f4fb6@google.com


[ Fixed typo in commit message. Slightly reworded title. - Miguel ]
Signed-off-by: default avatarMiguel Ojeda <ojeda@kernel.org>

Bug: 347787665
(cherry picked from commit 0e446e31)
Change-Id: I363f0ff84e8247a43bceffabce1806328a2636fb
Signed-off-by: default avatarAlice Ryhl <aliceryhl@google.com>
parent 30844cb9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment