Re: [PATCH] rust: Do not export generated KASAN ODR symbols
From: Miguel Ojeda
Date: Thu Feb 06 2025 - 18:04:35 EST
On Wed, Jan 22, 2025 at 1:14 AM Matthew Maurer <mmaurer@xxxxxxxxxx> wrote:
>
> ASAN generates sppecial 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: Matthew Maurer <mmaurer@xxxxxxxxxx>
Applied to `rust-fixes` -- thanks everyone!
[ Fixed typo in commit message. Slightly reworded title. - Miguel ]
Cheers,
Miguel