Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SR-14279] Adding debug info increases the size of unwind info sections #56638

Open
swift-ci opened this issue Feb 26, 2021 · 1 comment
Open
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler in itself

Comments

@swift-ci
Copy link
Collaborator

Previous ID SR-14279
Radar rdar://problem/74878525
Original Reporter richardh (JIRA User)
Type Bug
Additional Detail from JIRA
Votes 0
Component/s Compiler
Labels Bug
Assignee None
Priority Medium

md5: 561e269a107fa9029588a48af6fc1710

Issue Description:

In a medium sized Swift application, when enabling debug info in a release build we see a measurable increase in the size of __unwind_info and __eh_frame sections. Running size -m shows:

No debug info:

Section __unwind_info: 165560
Section __eh_frame: 90336

With gline-tables-only:

Section __unwind_info: 227020
Section __eh_frame: 254128

This adds up to an increase of roughly 230kb increase. Is this increase expected or is there some flag that can be used to control this?

@typesanitizer
Copy link

@swift-ci create

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler in itself
Projects
None yet
Development

No branches or pull requests

2 participants