mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-25 20:01:50 +00:00

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