Lines Matching defs:fsanitize
1214 # @proj-check-fsanitize ?list-of-opts?
1216 # Checks whether CC supports -fsanitize=X, where X is each entry of
1218 # returns the string "-fsanitize=X..." where X... is a comma-separated
1224 # set f [proj-check-fsanitize {address bounds-check just-testing}]
1226 # Will, on many systems, resolve to "-fsanitize=address,bounds-check",
1227 # but may also resolve to "-fsanitize=address".
1229 proc proj-check-fsanitize {{opts {address bounds-strict}}} {
1232 # -nooutput is used because -fsanitize=hwaddress will otherwise
1236 if {[cc-check-flags "-fsanitize=$opt"]} {
1242 return "-fsanitize=[join $sup ,]"