This is an archive of the discontinued LLVM Phabricator instance.

[lld][WebAssembly] Fix for string tail merging and -r/--relocatable
ClosedPublic

Authored by sbc100 on May 19 2021, 1:53 PM.

Details

Summary

Ensure that both SyntheticMergedChunk and all MergeInfoChunks that it
comprises are assigned the correct output section. Without this we
would crash when outputting relocations in --relocatable mode.

Fixes: https://github.com/emscripten-core/emscripten/issues/14220

Diff Detail

Event Timeline

sbc100 created this revision.May 19 2021, 1:53 PM
sbc100 requested review of this revision.May 19 2021, 1:53 PM
Herald added a project: Restricted Project. · View Herald TranscriptMay 19 2021, 1:53 PM
sbc100 updated this revision to Diff 346557.May 19 2021, 1:54 PM
  • update comment
sbc100 edited the summary of this revision. (Show Details)May 19 2021, 1:55 PM
sbc100 added a reviewer: dschuff.
dschuff accepted this revision.May 19 2021, 3:22 PM
This revision is now accepted and ready to land.May 19 2021, 3:22 PM
This revision was landed with ongoing or failed builds.May 19 2021, 3:26 PM
This revision was automatically updated to reflect the committed changes.