We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b91b53f + f179b2a commit a531027Copy full SHA for a531027
include/swift/IRGen/Linking.h
@@ -1627,15 +1627,6 @@ class ApplyIRLinkage {
1627
// TODO: BFD and gold do not handle COMDATs properly
1628
if (Triple.isOSBinFormatELF())
1629
return;
1630
- // WebAssembly: hack: comdat + custom section = explosion
1631
- // the comdat code assumes section name would be unique for each comdat
1632
- // this doesn't happen for metadata.
1633
- // And avoid to create GOT because wasm32 doesn't support
1634
- // dynamic linking yet
1635
- if (Triple.isOSBinFormatWasm()) {
1636
- GV->setDSOLocal(true);
1637
- return;
1638
- }
1639
1640
// COMDATs cannot be applied to declarations. If we have a definition,
1641
// apply the COMDAT.
0 commit comments