Bug 233595 - Stop using __PRETTY_FUNCTION__ on Release builds (saves ~100 KB per arch)
Summary: Stop using __PRETTY_FUNCTION__ on Release builds (saves ~100 KB per arch)
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: David Kilzer (:ddkilzer)
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-11-29 13:41 PST by David Kilzer (:ddkilzer)
Modified: 2021-11-29 13:49 PST (History)
1 user (show)

See Also:


Attachments
Patch v1 (1.57 KB, patch)
2021-11-29 13:47 PST, David Kilzer (:ddkilzer)
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description David Kilzer (:ddkilzer) 2021-11-29 13:41:55 PST
Stop using __PRETTY_FUNCTION__ on Release builds (saves ~100 KB per arch in WebCore binary).

The only fallout is that `c++filt` must be used for symbols in Release/Production builds to get pretty functions.
Comment 1 Radar WebKit Bug Importer 2021-11-29 13:43:25 PST
<rdar://problem/85833015>
Comment 2 David Kilzer (:ddkilzer) 2021-11-29 13:47:10 PST
Created attachment 445336 [details]
Patch v1
Comment 3 David Kilzer (:ddkilzer) 2021-11-29 13:47:57 PST
(In reply to David Kilzer (:ddkilzer) from comment #2)
> Created attachment 445336 [details]
> Patch v1

Not sure if anyone has objections to this or not, or whether it's needed.