Skip to content

Introduce SymbolSourceMapRequest #33456

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

Merged
merged 3 commits into from
Aug 14, 2020
Merged

Conversation

hamishknight
Copy link
Contributor

Add a request that leverages the TBDGenVisitor to produce a mapping from a mangled symbol name to the SIL or IR entity that emits it. This will be used to enable lazy compilation where only a specific set of symbols need to be emitted

This is necessary for caching TBD requests.
Add a request that leverages the TBDGenVisitor to
produce a mapping from a mangled symbol name to
the SIL or IR entity that emits it. This will be
used to enable lazy compilation where only a
specific set of symbols need to be emitted.
Add a `PublicSymbolsOnly` option to TBDGenOptions
that controls whether to include public-only
symbols. This is `true` by default, but will be
disabled for symbol mapping.
@hamishknight
Copy link
Contributor Author

@swift-ci please test

@hamishknight
Copy link
Contributor Author

@swift-ci please test macOS

@swiftlang swiftlang deleted a comment from swift-ci Aug 13, 2020
Copy link
Member

@DougGregor DougGregor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very nice!

@hamishknight hamishknight merged commit c3dd066 into swiftlang:master Aug 14, 2020
@hamishknight hamishknight deleted the symlink branch August 14, 2020 18:18
@nkcsgexi
Copy link
Contributor

Super cool, Thank you, @hamishknight !

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.

3 participants