Details
-
Suggestion
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
5.12.12, 6.8.2
-
None
Description
Adding the line
CONFIG += sanitizer sanitize_address
in a pro-file has no effect for MSVC.
However, MSVC supports address sanitizer (https://learn.microsoft.com/en-us/cpp/sanitizers/asan?view=msvc-170).
The feature is activated by the command line
/fsanitize=address
but also
-fsanitize=address
is accepted.
So, when I add the line
include(sanitize.conf)
to the end of the file
...\5.12.12\msvc2017_64\mkspecs\common\msvc-desktop.conf
the MSVC address sanitizer is used.
So, shouldn't at least address sanitizer be available for MSVC?