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-14200] [docs] Document layout of runtime data structures #56578

Open
typesanitizer opened this issue Feb 12, 2021 · 1 comment
Open

[SR-14200] [docs] Document layout of runtime data structures #56578

typesanitizer opened this issue Feb 12, 2021 · 1 comment
Assignees
Labels
compiler The Swift compiler in itself documentation task

Comments

@typesanitizer
Copy link

Previous ID SR-14200
Radar rdar://problem/74278768
Original Reporter @typesanitizer
Type Task
Additional Detail from JIRA
Votes 0
Component/s Compiler
Labels Task, Documentation
Assignee @typesanitizer
Priority Medium

md5: ebccb9ecd1cf7ca57ec2f4685dbf1854

Issue Description:

If you're trying to understand the layout of runtime metadata, it can be tricky due to the multiple levels of indirection in the runtime headers due to the use of templates, inheritance/subclassing, and trailing objects.

Moreover, in certain cases, the layout can change due to optimizations such as the PruneVTables optimization in SIL.

Given that the ABI is stable now, we should document the layout of different kinds of metadata and heap objects.

@typesanitizer
Copy link
Author

@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
compiler The Swift compiler in itself documentation task
Projects
None yet
Development

No branches or pull requests

1 participant