This is an archive of the discontinued LLVM Phabricator instance.

[lld][WebAssemlby] Always enable mutable-globals feature in PIC mode
ClosedPublic

Authored by sbc100 on Oct 28 2021, 4:12 PM.

Details

Summary

This works around an issue where the feature can be forgotten
in the case of LTO + object file with no functions.

See: https://bugs.llvm.org/show_bug.cgi?id=52339

Diff Detail

Event Timeline

sbc100 created this revision.Oct 28 2021, 4:12 PM
sbc100 requested review of this revision.Oct 28 2021, 4:12 PM
Herald added a project: Restricted Project. · View Herald TranscriptOct 28 2021, 4:12 PM
sbc100 updated this revision to Diff 383193.Oct 28 2021, 4:14 PM
  • comments
tlively accepted this revision.Oct 28 2021, 4:20 PM

"globala" => "globals" in the descriptions (although globala sounds like a great name for something).

This revision is now accepted and ready to land.Oct 28 2021, 4:20 PM
sbc100 retitled this revision from [lld][WebAssemlby] Always enable mutable-globala feature in PIC mode to [lld][WebAssemlby] Always enable mutable-globals feature in PIC mode.Oct 28 2021, 4:24 PM
This revision was landed with ongoing or failed builds.Oct 28 2021, 4:26 PM
This revision was automatically updated to reflect the committed changes.