mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 23:03:27 +08:00
mm/kasan: bypass link-time optimizer
To avoid lto alias with override __asan_* symbols undefined reference to `__asan_load4_noabort' undefined reference to `__asan_load1_noabort' undefined reference to `__asan_store1_noabort' undefined reference to `__asan_load1_noabort' undefined reference to `__asan_store1_noabort' undefined reference to `__asan_load4_noabort' undefined reference to `__asan_store4_noabort' Signed-off-by: chao.an <anchao@xiaomi.com>
This commit is contained in:
committed by
Petro Karashchenko
parent
76bdfcc9d9
commit
ac8918345b
@@ -25,6 +25,7 @@ CSRCS += kasan.c
|
||||
# Disable kernel-address in mm subsystem
|
||||
|
||||
CFLAGS += -fno-sanitize=kernel-address
|
||||
CFLAGS += -fno-lto
|
||||
|
||||
# Add the core heap directory to the build
|
||||
|
||||
|
||||
Reference in New Issue
Block a user