Skip to content

Make sure we visit auxiliary declarations for symbol visitation. #64942

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
Apr 6, 2023

Conversation

DougGregor
Copy link
Member

SIL symbol visitation wasn't visiting top-level auxiliary declarations, which meant that it skipped peer and freestanding macros at module scope. This would manifest in errors of the form

<symbol> is in the generated IR file, but not in TBD file

Fixes rdar://107426276.

SIL symbol visitation wasn't visiting top-level auxiliary declarations,
which meant that it skipped peer and freestanding macros at module
scope. This would manifest in errors of the form

    <symbol> is in the generated IR file, but not in TBD file

Fixes rdar://107426276.
@DougGregor
Copy link
Member Author

@swift-ci please smoke test

@DougGregor
Copy link
Member Author

@swift-ci please smoke test

@DougGregor
Copy link
Member Author

@swift-ci please smoke test

@DougGregor DougGregor merged commit efd5890 into swiftlang:main Apr 6, 2023
@DougGregor DougGregor deleted the sil-symbol-visitor-aux-decls branch April 6, 2023 00:35
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