mm: Change the default of MM_UBSAN_TRAP_ON_ERROR to n

let's give more information by default

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao 2022-12-06 13:27:24 +08:00 committed by archer
parent 2719869ab2
commit 800fac05d9
1 changed files with 1 additions and 1 deletions

View File

@ -222,7 +222,7 @@ config MM_UBSAN_OPTION
config MM_UBSAN_TRAP_ON_ERROR config MM_UBSAN_TRAP_ON_ERROR
bool "Enable UBSan trap on error to crash immediately" bool "Enable UBSan trap on error to crash immediately"
depends on MM_UBSAN depends on MM_UBSAN
default y default n
---help--- ---help---
The undefined instruction trap should cause your program to crash, The undefined instruction trap should cause your program to crash,
save the code space significantly. save the code space significantly.