removed implict usage of "nullability" from SANITIZE=undefined (nw)

This commit is contained in:
firewave 2018-01-14 01:46:49 +01:00 committed by Vas Crabb
parent f911ab2869
commit e2d7b45434

View File

@ -974,16 +974,13 @@ if _OPTIONS["SANITIZE"] then
if string.find(_OPTIONS["SANITIZE"], "undefined") then if string.find(_OPTIONS["SANITIZE"], "undefined") then
-- 'function' produces errors without delegates by design -- 'function' produces errors without delegates by design
-- 'alignment' produces a lot of errors which we are not interested in -- 'alignment' produces a lot of errors which we are not interested in
-- 'nullability' errors are not actually undefined behavior but unintentional
buildoptions { buildoptions {
"-fno-sanitize=function", "-fno-sanitize=function",
"-fno-sanitize=alignment", "-fno-sanitize=alignment"
"-fsanitize=nullability"
} }
linkoptions { linkoptions {
"-fno-sanitize=function", "-fno-sanitize=function",
"-fno-sanitize=alignment", "-fno-sanitize=alignment"
"-fsanitize=nullability"
} }
end end
end end