Skip to content

TAPI 🍒Picks #8080

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 6 commits into from
Jan 31, 2024
Merged

TAPI 🍒Picks #8080

merged 6 commits into from
Jan 31, 2024

Conversation

cyndyishida
Copy link

No description provided.

cyndyishida and others added 5 commits January 30, 2024 09:27
An empty string attribute value (e.g. a parent-umbrella: "") is
equivalent to omitting it. Theres no reason to write it out.

(cherry picked from commit 8ca0364)
(cherry picked from commit 3c03a15)
A distinction that doesn't _usually_ matter is that the
MachO::SymbolKind is really a mapping of entries in TBD files not
symbols. To better understand this, rename the enum so it represents an
encoding mapped to TBDs as opposed to symbols alone.

For example, it can be a bit confusing that "GlobalSymbol" is a enum
value when all of those values can represent a GlobalSymbol.
…lvm#79928)

ObjCInterfaceRecords roughly align to the objc-classes key in tbd-files.
They condensely represent up to 3 symbols. The problem here is that when
represented this way, we lose granularity when these symbols could have
different linkages or outright don't exist. This can happen frequently
in interoptable code generated by the swift compiler. This adds fields
and utility functions to express unique properties for these symbols. If
the record does represent the same properties across all of its symbols,
it will be treated the same in the TBD. Otherwise it will be printed in
global's section.

Reviewed seperately before by Juergen Ributzka

(cherry picked from commit 4460fa8)
@cyndyishida
Copy link
Author

@swift-ci please smoke test

@cyndyishida
Copy link
Author

@swift-ci please test

@cyndyishida
Copy link
Author

swiftlang/swift#71247
@swift-ci please test

1 similar comment
@cyndyishida
Copy link
Author

swiftlang/swift#71247
@swift-ci please test

@cyndyishida cyndyishida merged commit da3789a into swiftlang:stable/20230725 Jan 31, 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