small steps to getting ASAN on Windows working

Change-Id: Ie8941a7cc87cb5c5dba62e9356e960e45f5560d7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158416
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
This commit is contained in:
Noel Grandin 2023-10-25 10:29:44 +02:00 committed by Noel Grandin
parent 33f158d96c
commit 505c5821d6
12 changed files with 12 additions and 0 deletions

View file

@ -15,6 +15,7 @@ $(eval $(call gb_Library_add_defs,inst_msu_msi,\
$(eval $(call gb_Library_add_cxxflags,inst_msu_msi,\
$(if $(MSVC_USE_DEBUG_RUNTIME),/MTd,/MT) \
$(if $(filter -fsanitize=%,$(CC)),,/fno-sanitize-address-vcasan-lib) \
))
$(eval $(call gb_Library_add_ldflags,inst_msu_msi,\

View file

@ -15,6 +15,7 @@ $(eval $(call gb_Library_add_defs,instooofiltmsi,\
$(eval $(call gb_Library_add_cxxflags,instooofiltmsi,\
$(if $(MSVC_USE_DEBUG_RUNTIME),/MTd,/MT) \
$(if $(filter -fsanitize=%,$(CC)),,/fno-sanitize-address-vcasan-lib) \
))
$(eval $(call gb_Library_add_ldflags,instooofiltmsi,\

View file

@ -15,6 +15,7 @@ $(eval $(call gb_Library_add_defs,qslnkmsi,\
$(eval $(call gb_Library_add_cxxflags,qslnkmsi,\
$(if $(MSVC_USE_DEBUG_RUNTIME),/MTd,/MT) \
$(if $(filter -fsanitize=%,$(CC)),,/fno-sanitize-address-vcasan-lib) \
))
$(eval $(call gb_Library_add_ldflags,qslnkmsi,\

View file

@ -15,6 +15,7 @@ $(eval $(call gb_Library_add_defs,reg4allmsdoc,\
$(eval $(call gb_Library_add_cxxflags,reg4allmsdoc,\
$(if $(MSVC_USE_DEBUG_RUNTIME),/MTd,/MT) \
$(if $(filter -fsanitize=%,$(CC)),,/fno-sanitize-address-vcasan-lib) \
))
$(eval $(call gb_Library_add_ldflags,reg4allmsdoc,\

View file

@ -15,6 +15,7 @@ $(eval $(call gb_Library_add_defs,reg_dlls,\
$(eval $(call gb_Library_add_cxxflags,reg_dlls,\
$(if $(MSVC_USE_DEBUG_RUNTIME),/MTd,/MT) \
$(if $(filter -fsanitize=%,$(CC)),,/fno-sanitize-address-vcasan-lib) \
))
$(eval $(call gb_Library_add_ldflags,reg_dlls,\

View file

@ -15,6 +15,7 @@ $(eval $(call gb_Library_add_defs,regactivex,\
$(eval $(call gb_Library_add_cxxflags,regactivex,\
$(if $(MSVC_USE_DEBUG_RUNTIME),/MTd,/MT) \
$(if $(filter -fsanitize=%,$(CC)),,/fno-sanitize-address-vcasan-lib) \
))
$(eval $(call gb_Library_add_ldflags,regactivex,\

View file

@ -15,6 +15,7 @@ $(eval $(call gb_Library_add_defs,sdqsmsi,\
$(eval $(call gb_Library_add_cxxflags,sdqsmsi,\
$(if $(MSVC_USE_DEBUG_RUNTIME),/MTd,/MT) \
$(if $(filter -fsanitize=%,$(CC)),,/fno-sanitize-address-vcasan-lib) \
))
$(eval $(call gb_Library_add_ldflags,sdqsmsi,\

View file

@ -19,6 +19,7 @@ $(eval $(call gb_Library_add_defs,sellangmsi,\
$(eval $(call gb_Library_add_cxxflags,sellangmsi,\
$(if $(MSVC_USE_DEBUG_RUNTIME),/MTd,/MT) \
$(if $(filter -fsanitize=%,$(CC)),,/fno-sanitize-address-vcasan-lib) \
))
$(eval $(call gb_Library_add_ldflags,sellangmsi,\

View file

@ -17,6 +17,7 @@ $(eval $(call gb_Library_add_defs,shlxtmsi,\
$(eval $(call gb_Library_add_cxxflags,shlxtmsi,\
$(if $(MSVC_USE_DEBUG_RUNTIME),/MTd,/MT) \
$(if $(filter -fsanitize=%,$(CC)),,/fno-sanitize-address-vcasan-lib) \
))
$(eval $(call gb_Library_add_ldflags,shlxtmsi,\

View file

@ -15,6 +15,7 @@ $(eval $(call gb_Library_add_defs,sn_tools,\
$(eval $(call gb_Library_add_cxxflags,sn_tools,\
$(if $(MSVC_USE_DEBUG_RUNTIME),/MTd,/MT) \
$(if $(filter -fsanitize=%,$(CC)),,/fno-sanitize-address-vcasan-lib) \
))
$(eval $(call gb_Library_add_ldflags,sn_tools,\

View file

@ -15,6 +15,7 @@ $(eval $(call gb_StaticLibrary_add_defs,quickstarter,\
$(eval $(call gb_StaticLibrary_add_cxxflags,quickstarter,\
$(if $(MSVC_USE_DEBUG_RUNTIME),/MTd,/MT) \
$(if $(filter -fsanitize=%,$(CC)),,/fno-sanitize-address-vcasan-lib) \
))
$(eval $(call gb_StaticLibrary_add_exception_objects,quickstarter,\

View file

@ -15,6 +15,7 @@ $(eval $(call gb_StaticLibrary_add_defs,seterror,\
$(eval $(call gb_StaticLibrary_add_cxxflags,seterror,\
$(if $(MSVC_USE_DEBUG_RUNTIME),/MTd,/MT) \
$(if $(filter -fsanitize=%,$(CC)),,/fno-sanitize-address-vcasan-lib) \
))
$(eval $(call gb_StaticLibrary_add_exception_objects,seterror,\