Bug 233595

Summary: Stop using __PRETTY_FUNCTION__ on Release builds (saves ~100 KB per arch)
Product: WebKit Reporter: David Kilzer (:ddkilzer) <ddkilzer>
Component: WebCore Misc.Assignee: David Kilzer (:ddkilzer) <ddkilzer>
Status: NEW ---    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch v1 none

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.