Bug 1507844 - Push the devtools.inspector.flexboxHighlighter.enabled pref in browser_...
[gecko.git] / mozglue / misc / StackWalk_windows.h
blob2a1c8719ede8ba634be04c927b16bc4b451cc4c0
1 #ifndef mozilla_StackWalk_windows_h
2 #define mozilla_StackWalk_windows_h
4 #include "mozilla/Types.h"
6 #ifdef _M_AMD64
7 /**
8 * Allow stack walkers to work around the egregious win64 dynamic lookup table
9 * list API by locking around SuspendThread to avoid deadlock.
11 * See comment in StackWalk.cpp
13 struct MOZ_RAII AutoSuppressStackWalking
15 MFBT_API AutoSuppressStackWalking();
16 MFBT_API ~AutoSuppressStackWalking();
19 MFBT_API void
20 RegisterJitCodeRegion(uint8_t* aStart, size_t size);
22 MFBT_API void
23 UnregisterJitCodeRegion(uint8_t* aStart, size_t size);
24 #endif // _M_AMD64
26 #endif // mozilla_StackWalk_windows_h