VS: Add support for ASAN -fsanitize=address flag

Map it to the `EnableASAN` element in `.vcxproj` files.

Fixes: #21081
This commit is contained in:
oltolm
2021-04-21 15:46:53 +00:00
committed by Brad King
parent 57872e6d44
commit 1b37305b0f

View File

@@ -1222,5 +1222,12 @@
"UserValue",
"UserRequired"
]
},
{
"name": "EnableASAN",
"switch": "fsanitize=address",
"comment": "Enable Address Sanitizer",
"value": "true",
"flags": []
}
]