Add MSVC ASan support

This commit is contained in:
Cameron Gutman committed 2020-04-10 17:21:17 -07:00
1 parent f47e40fa2a
commit 3840ee8ee7
1 file changed
+6 -2
+6 -2
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