tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

commit c1d952d299e251f4ff537c5cbabdc856e54a96d3
parent efd87935c141042aa032ac63c27e378a11e8936a
Author: Ryan VanderMeulen <rvandermeulen@mozilla.com>
Date:   Mon, 22 Dec 2025 12:44:38 +0000

Bug 2007215 - Only define PHC constants if PHC is enabled. r=mccr8

Differential Revision: https://phabricator.services.mozilla.com/D277270

Diffstat:
Mtoolkit/crashreporter/test/nsTestCrasher.cpp | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/toolkit/crashreporter/test/nsTestCrasher.cpp b/toolkit/crashreporter/test/nsTestCrasher.cpp @@ -101,9 +101,11 @@ const int16_t CRASH_X64CFI_SAVE_XMM128_FAR = 18; const int16_t CRASH_X64CFI_EPILOG = 19; const int16_t CRASH_X64CFI_EOF = 20; #endif +#ifdef MOZ_PHC const int16_t CRASH_PHC_USE_AFTER_FREE = 21; const int16_t CRASH_PHC_DOUBLE_FREE = 22; const int16_t CRASH_PHC_BOUNDS_VIOLATION = 23; +#endif #if XP_WIN const int16_t CRASH_HEAP_CORRUPTION = 24; #endif