Bug 223963 - Add disableForwardingVPrintfStdErrToOSLog() and use it in the jsc shell.
Summary: Add disableForwardingVPrintfStdErrToOSLog() and use it in the jsc shell.
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Mark Lam
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-03-30 15:59 PDT by Mark Lam
Modified: 2021-03-30 16:14 PDT (History)
9 users (show)

See Also:


Attachments
proposed patch. (5.15 KB, patch)
2021-03-30 16:05 PDT, Mark Lam
sbarati: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Lam 2021-03-30 15:59:36 PDT
This prevents automatic forwarding of vprintf_stderr_common() to os_log_with_args(), which results in duplicate output when using the jsc shell.  As a result, ASSERT fail messages and crash stack traces will be more readable.
Comment 1 Mark Lam 2021-03-30 16:05:38 PDT
Created attachment 424710 [details]
proposed patch.
Comment 2 Mark Lam 2021-03-30 16:13:13 PDT
Thanks for the review.  Landed in r275247: <http://trac.webkit.org/r275247>.
Comment 3 Radar WebKit Bug Importer 2021-03-30 16:14:26 PDT
<rdar://problem/76027030>