Bug 204399 - Consider actuallly printing a message in RELEASE_ASSERT_WITH_MESSAGE
Summary: Consider actuallly printing a message in RELEASE_ASSERT_WITH_MESSAGE
Status: ASSIGNED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Template Framework (show other bugs)
Version: Other
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Mark Lam
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-11-19 23:59 PST by Tuomas Karkkainen
Modified: 2020-03-17 12:38 PDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tuomas Karkkainen 2019-11-19 23:59:03 PST
Currently when asserts are disabled, RELEASE_ASSERT_WITH_MESSAGE is:

> #define RELEASE_ASSERT_WITH_MESSAGE(assertion, ...) RELEASE_ASSERT(assertion)

In the general case a RELEASE_ASSERT tries to capture register values to debug the failure.
Under certain circumstances it would be useful to have the message printed even in Release builds.