Skip to content

[runtime] Refactor binary section data loading into separate file #5046

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

Closed
wants to merge 1 commit into from

Conversation

spevans
Copy link
Contributor

@spevans spevans commented Sep 28, 2016

This PR moves all of the OS specific functions and definitions that load section data using the dynamic loader into its own file, cleaning up MetadataLookup and ProtocolConformance. This is just a cleanup of the code to make it easier to add other object formats etc and potentially static linking at some point (see #4754)

Tested on Linux and MacOS.

  • Move OS specific libdl calls from ProtocolConformance.cpp into
    SectionData.cpp
  • Remove duplicate defintions also contained in MetadataLookup.cpp

- Move OS specific libdl calls from ProtocolConformance.cpp into
  SectionData.cpp

- Remove duplicate defintions also contained in MetadataLookup.cpp
@moiseev
Copy link
Contributor

moiseev commented Sep 28, 2016

@swift-ci Please test

@moiseev
Copy link
Contributor

moiseev commented Sep 29, 2016

Title is a bit misleading. Removing the [stdlib] tag to not distract the right people.

@moiseev moiseev changed the title [stdlib] Refactor binary section data loading into separate file [runtime] Refactor binary section data loading into separate file Sep 29, 2016
@spevans spevans closed this Nov 21, 2016
@spevans
Copy link
Contributor Author

spevans commented Nov 21, 2016

Not needed as #5846 has been merged

@spevans spevans deleted the pr_section_data branch November 21, 2016 14:22
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