Open
Bug 1332104
Opened 7 years ago
Updated 2 years ago
add some MOZ_DIAGNOSTIC helpers
Categories
(Core :: MFBT, defect)
Core
MFBT
Tracking
()
NEW
People
(Reporter: bkelly, Unassigned)
References
Details
So we now have MOZ_DIAGNOSTIC_ASSERT, which is great. Its a bit difficult to use, though, if you need to conditionally run other code. As you can see bug 1331949 its easy to break things when they merge to beta. It would be nice to have: #define MOZ_DIAGNOSTIC (defined(DEBUG) || !defined(BETA_OR_RELEASE)) And a DiagnosticDebugOnly<> that works like DebugOnly<>, but for the diagnostic build conditions.
Comment 1•7 years ago
|
||
https://hg.mozilla.org/integration/autoland/rev/c174e6090f9e added the first half. This leaves the DebugOnly-like template for this bug.
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•