Skip to content

Conversation

@compnerd
Copy link
Member

Windows uses COFF as an object file format and PE/COFF as an executable file format. They are subtly different and certain elements of a COFF file may not be present in an executable. Introduce a new plugin to add support for the COFF object file format which is required to support loading of modules built with -gmodules. This is motivated by Swift which serialises debugging information into a PCM which is a COFF object file.

Differential Revision: https://reviews.llvm.org/D149987
Reviewed By: bulbazord

(cherry picked from commit 5014830)

Windows uses COFF as an object file format and PE/COFF as an executable
file format. They are subtly different and certain elements of a COFF
file may not be present in an executable. Introduce a new plugin to add
support for the COFF object file format which is required to support
loading of modules built with -gmodules. This is motivated by Swift
which serialises debugging information into a PCM which is a COFF object
file.

Differential Revision: https://reviews.llvm.org/D149987
Reviewed By: bulbazord

(cherry picked from commit 5014830)
@compnerd
Copy link
Member Author

@swift-ci please test

@compnerd compnerd merged commit 1bb54d5 into swiftlang:stable/20221013 Jul 13, 2023
@compnerd compnerd deleted the coff branch July 13, 2023 22:24
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.

1 participant