Skip to content

Conversation

@jimingham
Copy link

mach-o object files never have separate debug info, and in a big app there can be quite a large number of object files, so even a few stats per object file can slow launches considerably.
This patch avoids this search for Mach-o symbol files of object type.

I don't have a way to test this, the only effect is that you didn't do a bunch of stats that weren't going to do any good anyway.

(cherry picked from commit 50ffc53)

…1041)

mach-o object files never have separate debug info, and in a big app
there can be quite a large number of object files, so even a few stats
per object file can slow launches considerably.
This patch avoids this search for Mach-o symbol files of object type.

I don't have a way to test this, the only effect is that you didn't do a
bunch of stats that weren't going to do any good anyway.

(cherry picked from commit 50ffc53)
@JDevlieghere
Copy link

@swift-ci test

@JDevlieghere JDevlieghere merged commit 2989c4f into swiftlang:swift/release/5.10 Feb 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants