328de502ac
Iterator debugging has been disabled by default (_HAS_ITERATOR_DEBUGGING=0) for CEF/Chromium builds using clang/LLVM since 2018. Inversely, it is enabled by default (_ITERATOR_DEBUG_LEVEL=2) for the MSVC Debug build configuration. In order to minimize configuration-related headaches for MSVC-based clients we have been building the Debug cef_sandbox.lib with iterator debugging enabled. Recently, we have identified a number of crashes that may be due to bugs in current clang/LLVM or MSVC versions but in any case can be resolved by disabling iterator debugging: - Crash when loading chrome://sandbox. - Crash if an application lists libraries that utilize iterators after cef_sandbox.lib in the linker order. To resolve these crashes we will now disable iterator debugging by default for the cef_sandbox.lib builds. Client applications that link cef_sandbox.lib will now also need to build with iterator debugging disabled by setting _HAS_ITERATOR_DEBUGGING=0 or _ITERATOR_DEBUG_LEVEL=0 in their project configuration (this will be done for you if you use cef_variables.cmake from the binary distribution). In addition to the crash fixes mentioned above, this change also: - Reduces the size of the Debug cef_sandbox.lib by ~10MB. - May result in faster Debug executables (see https://crbug.com/539996). |
||
---|---|---|
.. | ||
FindCEF.cmake.in | ||
cef_macros.cmake.in | ||
cef_variables.cmake.in |