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-9974] Block copy/destroy helper is multiply defined on PE/COFF #52378

Closed
compnerd opened this issue Feb 22, 2019 · 1 comment
Closed

[SR-9974] Block copy/destroy helper is multiply defined on PE/COFF #52378

compnerd opened this issue Feb 22, 2019 · 1 comment
Assignees
Labels
compiler The Swift compiler in itself

Comments

@compnerd
Copy link
Collaborator

Previous ID SR-9974
Radar None
Original Reporter @compnerd
Type Sub-task
Status Resolved
Resolution Done
Additional Detail from JIRA
Votes 0
Component/s Compiler
Labels Sub-task
Assignee @compnerd
Priority Medium

md5: 388e8402d1c5ac51cb1a71486a8f1dd1

Parent-Task:

Issue Description:

The block copy/destroy helper was reworked by Akira to de-duplicate definitions. The use of the LinkOnceODR ensures a definition and preservation but does not generate a deduplicated version for PE/COFF. This causes multiply defined symbols as it relies on weak symbol semantics which do not exist in PE/COFF.

@compnerd
Copy link
Collaborator Author

apple/swift-clang#261

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
This issue was closed.
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
Projects
None yet
Development

No branches or pull requests

1 participant