WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 198616
Tool binaries like WebKitTestRunner have too aggressive stripping, resulting in non-symbolicated crash logs
https://bugs.webkit.org/show_bug.cgi?id=198616
Summary
Tool binaries like WebKitTestRunner have too aggressive stripping, resulting ...
Alexey Proskuryakov
Reported
2019-06-06 11:39:23 PDT
In configurations where stripping is performed, crash logs from bots can lack symbols for tool code. As far as I can tell, it's an Xcode default to strip all symbols from applications and command line tools, but not from frameworks.
rdar://problem/36386573
Attachments
proposed fix
(7.58 KB, patch)
2019-06-06 11:41 PDT
,
Alexey Proskuryakov
ddkilzer
: review+
ddkilzer
: commit-queue-
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Alexey Proskuryakov
Comment 1
2019-06-06 11:41:48 PDT
Created
attachment 371515
[details]
proposed fix
Jonathan Bedard
Comment 2
2019-06-06 14:45:54 PDT
Comment on
attachment 371515
[details]
proposed fix View in context:
https://bugs.webkit.org/attachment.cgi?id=371515&action=review
> Tools/DumpRenderTree/mac/Configurations/DumpRenderTree.xcconfig:30 > +STRIP_STYLE=debugging
I would have expected this to be in DebugRelease.xcconfig. I suppose if we set it here, we have more data for Production builds, but if that was what we wanted, why not in Base.xcconfig?
Alexey Proskuryakov
Comment 3
2019-06-06 15:01:14 PDT
Both DebugRelease.xcconfig and Base.xcconfig affect all targets, whereas I only want to change the behavior where it is incorrect. One case where we have a value different from all and debugging is plug-in bundles. Since function symbols are present in those, and everything works well, I didn't want to change those.
Tim Horton
Comment 4
2019-06-06 23:24:51 PDT
Comment on
attachment 371515
[details]
proposed fix View in context:
https://bugs.webkit.org/attachment.cgi?id=371515&action=review
> Tools/DumpRenderTree/mac/Configurations/DumpRenderTreeApp.xcconfig:34 > +STRIP_STYLE=debugging
Style-wise I think spaces around the = and a semicolon at the end are both traditional for xcconfigs.
David Kilzer (:ddkilzer)
Comment 5
2019-06-07 17:32:14 PDT
Comment on
attachment 371515
[details]
proposed fix r=me, but please change code style to: STRIP_STYLE = debugging;
Ryan Haddad
Comment 6
2019-06-10 14:35:18 PDT
Committed
r246282
: <
https://trac.webkit.org/changeset/246282
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug