diff options
author | oltolm <oleg.tolmatcev@gmail.com> | 2021-04-21 15:46:53 +0000 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2021-04-21 13:37:26 -0400 |
commit | 1b37305b0f3bfcf510a47fd38fb226c0364958ea (patch) | |
tree | d50e7cfb563d91a7e23c19f73f32b2ed461606da /Templates | |
parent | 57872e6d44ca4ea639ef5a6a712be4dd0f12710e (diff) | |
download | cmake-1b37305b0f3bfcf510a47fd38fb226c0364958ea.tar.gz |
VS: Add support for ASAN -fsanitize=address flag
Map it to the `EnableASAN` element in `.vcxproj` files.
Fixes: #21081
Diffstat (limited to 'Templates')
-rw-r--r-- | Templates/MSBuild/FlagTables/v142_CL.json | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Templates/MSBuild/FlagTables/v142_CL.json b/Templates/MSBuild/FlagTables/v142_CL.json index 7c2d291f9a..9f07961296 100644 --- a/Templates/MSBuild/FlagTables/v142_CL.json +++ b/Templates/MSBuild/FlagTables/v142_CL.json @@ -1222,5 +1222,12 @@ "UserValue", "UserRequired" ] + }, + { + "name": "EnableASAN", + "switch": "fsanitize=address", + "comment": "Enable Address Sanitizer", + "value": "true", + "flags": [] } ] |