compiler: Recognize -fno-sanitize=<...> in addition to -fsanitize=<...>.

This commit is contained in:
Alex Rønne Petersen
2025-04-03 07:23:23 +02:00
parent 7c5412c7a4
commit c3e88a21fb
3 changed files with 11 additions and 5 deletions

View File

@@ -284,6 +284,10 @@ const known_options = [_]KnownOpt{
.name = "fsanitize",
.ident = "sanitize",
},
.{
.name = "fno-sanitize",
.ident = "no_sanitize",
},
.{
.name = "T",
.ident = "linker_script",