diff --git a/UnitTestFrameworkPkg/UnitTestFrameworkPkgHost.dsc.inc b/UnitTestFrameworkPkg/UnitTestFrameworkPkgHost.dsc.inc index 2e6b0d28c69a..e73e423f9099 100644 --- a/UnitTestFrameworkPkg/UnitTestFrameworkPkgHost.dsc.inc +++ b/UnitTestFrameworkPkg/UnitTestFrameworkPkgHost.dsc.inc @@ -38,6 +38,7 @@ # MSFT:*_VS2019_*_CC_FLAGS = /fsanitize=address MSFT:*_VS2022_*_CC_FLAGS = /fsanitize=address + MSFT:*_VS2022_*_SLINK_FLAGS = /LTCG:OFF GCC:*_*_*_CC_FLAGS = -fsanitize=address !endif !ifdef $(UNIT_TESTING_DEBUG)