mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 697301 - Avoid the compiler making optimizations to mozalloc_abort that end up corrupting stack traces. r=cjones
This commit is contained in:
parent
62c12f3946
commit
0c75d35a82
@ -58,7 +58,9 @@
|
||||
|
||||
static int gDummyCounter;
|
||||
|
||||
static void
|
||||
// Not inlining this function avoids the compiler making optimizations
|
||||
// that end up corrupting stack traces.
|
||||
MOZ_NEVER_INLINE static void
|
||||
TouchBadMemory()
|
||||
{
|
||||
// XXX this should use the frame poisoning code
|
||||
|
Loading…
Reference in New Issue
Block a user