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:
parent
282c4104b9
commit
afaaa780eb
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue