Update ASan flags for x64 support in MSVC 16.7

https://devblogs.microsoft.com/cppblog/asan-for-windows-x64-and-debug-build-support/
This commit is contained in:
Cameron Gutman 2020-08-22 17:36:16 -07:00
parent d1a48ae641
commit 678ec979c9

View file

@ -13,5 +13,6 @@ CONFIG(release, debug|release) {
#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
#QMAKE_CFLAGS += -fsanitize=address
#QMAKE_CXXFLAGS += -fsanitize=address
#QMAKE_LFLAGS += -incremental:no -wholearchive:clang_rt.asan_dynamic-x86_64.lib -wholearchive:clang_rt.asan_dynamic_runtime_thunk-x86_64.lib