mm/ubsan: UBSan option should be turned on if SIM_UBSAN enabled

Signed-off-by: chao an <anchao@xiaomi.com>
This commit is contained in:
chao an 2022-09-19 15:06:57 +08:00 committed by Xiang Xiao
parent 282c4104b9
commit afaaa780eb
1 changed files with 1 additions and 1 deletions

View File

@ -224,7 +224,7 @@ config MM_UBSAN_ALL
config MM_UBSAN_OPTION
string "UBSan options"
depends on MM_UBSAN
depends on MM_UBSAN || SIM_UBSAN
default "-fsanitize=undefined"
---help---
This option activates specified UBSan instrumentation. Please