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-7157] Linux/ELF support in swift_reflection_addImage #49705

Open
mikeash opened this issue Mar 9, 2018 · 0 comments
Open

[SR-7157] Linux/ELF support in swift_reflection_addImage #49705

mikeash opened this issue Mar 9, 2018 · 0 comments
Assignees
Labels
improvement standard library Area: Standard library umbrella

Comments

@mikeash
Copy link
Contributor

mikeash commented Mar 9, 2018

Previous ID SR-7157
Radar None
Original Reporter @mikeash
Type Improvement
Additional Detail from JIRA
Votes 0
Component/s Standard Library
Labels Improvement
Assignee @mikeash
Priority Medium

md5: c743c5807ba3054bb53ee31a46928404

Issue Description:

swift_reflection_addImage is stuck inside a APPLE block because it only works with MachO and uses Apple's MachO APIs. It should also (at least!) support Linux and ELF. We'd like to embed a minimal ELF parser rather than relying on anything external. We'd like to do the same for MachO while we're at it, so we don't have to abuse the mach-o/getsect.h APIs.

@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
improvement standard library Area: Standard library umbrella
Projects
None yet
Development

No branches or pull requests

1 participant