Add MSVC ASan support

This commit is contained in:
Cameron Gutman 2020-04-10 17:21:17 -07:00
parent f47e40fa2a
commit 3840ee8ee7

View file

@ -9,5 +9,9 @@ CONFIG(release, debug|release) {
DEFINES += NDEBUG
}
# Enable ASan if desired
#CONFIG += sanitizer sanitize_address
# Enable ASan for Linux or macOS
#CONFIG += sanitizer sanitize_address
# Enable ASan for Windows
#QMAKE_CFLAGS += /fsanitize=address /MD
#LIBS += clang_rt.asan_dynamic-i386.lib clang_rt.asan_dynamic_runtime_thunk-i386.lib