On Mon, Mar 16, 2026, at 10:28, Vincent Donnefort wrote: > Compiler and tooling-generated symbols are difficult to maintain > across all supported architectures. Make the allowlist more robust by > replacing the harcoded list with a mechanism that automatically detects > these symbols. > > This mechanism generates a C function designed to trigger common > compiler-inserted symbols. > > Signed-off-by: Vincent Donnefort <[email protected]> > Reviewed-by: Nathan Chancellor <[email protected]> > Tested-by: Nathan Chancellor <[email protected]>
Tested-by: Arnd Bergmann <[email protected]> A few hundred randconfig builds in, I came across a single build failure that you missed: > +UNDEFINED_ALLOWLIST = __asan __gcov __kasan __kcsan __hwasan __sancov > __sanitizer __tsan __ubsan __x86_indirect_thunk \ > + simple_ring_buffer \ This needs "__kmsan" as well, for these symbols: U __msan_chain_origin U __msan_get_context_state U __msan_instrument_asm_store U __msan_metadata_ptr_for_load_4 U __msan_metadata_ptr_for_load_8 U __msan_metadata_ptr_for_store_4 U __msan_metadata_ptr_for_store_8 U __msan_warning Arnd
