Yannis Juglaret 99b3d85e62 Bug 1843354 - Rewrite DbgHelp intialization in StackWalk.cpp. r=glandium
Stack walking can currently produce crashes when we fail to delay-load
DbgHelp.dll. This patch ensures that the library is already loaded in
the process before we try to call any delay-imported function from it.
The patch also improves thread-safety for our DbgHelp initialization
code.

Differential Revision: https://phabricator.services.mozilla.com/D188956
2023-09-27 07:15:23 +00:00
..