kernel: Enable UBSAN when building in debug mode
This commit is contained in:
parent
d82b3f809b
commit
5f6a659fa1
@ -1 +1,2 @@
|
|||||||
target_compile_definitions(moon PRIVATE LOCKED_VALUE_DEBUG)
|
target_compile_definitions(moon PRIVATE LOCKED_VALUE_DEBUG)
|
||||||
|
target_compile_options(moon PRIVATE -fsanitize=undefined)
|
||||||
|
Loading…
Reference in New Issue
Block a user