This is an archive of the discontinued LLVM Phabricator instance.

[lld][WebAssembly] Don't force the export symbols assiged internal/dummy GOT entries
ClosedPublic

Authored by sbc100 on Feb 15 2022, 3:37 PM.

Details

Summary

Symbols with regular GOT entries do need to be exported, but those
that are internalized (and have internal GOT entries) should not
be exported.

This happens to fix the failures on the emscripten waterfall where
extra symbols were being exported by the linker (and then later
removed by wasm-opt).

Diff Detail

Event Timeline

sbc100 created this revision.Feb 15 2022, 3:37 PM
sbc100 requested review of this revision.Feb 15 2022, 3:37 PM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 15 2022, 3:37 PM

can-haz test?

sbc100 updated this revision to Diff 409097.Feb 15 2022, 4:29 PM
  • add test
dschuff accepted this revision.Feb 15 2022, 4:43 PM
This revision is now accepted and ready to land.Feb 15 2022, 4:43 PM
sbc100 edited the summary of this revision. (Show Details)Feb 15 2022, 5:29 PM
This revision was landed with ongoing or failed builds.Feb 15 2022, 5:30 PM
This revision was automatically updated to reflect the committed changes.