This is an archive of the discontinued LLVM Phabricator instance.

[lld][WebAssembly] Handle duplicate archive member names in ThinLTO
ClosedPublic

Authored by sbc100 on Oct 28 2021, 8:22 AM.

Details

Summary

This entire change, including the test case, comes almost verbatim
from the ELF driver.

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

Diff Detail

Event Timeline

sbc100 created this revision.Oct 28 2021, 8:22 AM
sbc100 requested review of this revision.Oct 28 2021, 8:22 AM
Herald added a project: Restricted Project. · View Herald TranscriptOct 28 2021, 8:22 AM
dschuff accepted this revision.Oct 28 2021, 11:26 AM

it would be really cool if we could get ThinLTO working. It has most of the benefits of LTO at a small fraction of the cost.

This revision is now accepted and ready to land.Oct 28 2021, 11:26 AM

it would be really cool if we could get ThinLTO working. It has most of the benefits of LTO at a small fraction of the cost.

I think it does work... its not not well tested.