This is an archive of the discontinued LLVM Phabricator instance.

[MC][WebAssembly] Avoid recalculating indexes in -gsplit-dwarf mode
ClosedPublic

Authored by sbc100 on Dec 21 2020, 10:25 AM.

Details

Summary

Be consistent about asserting before setting WasmIndices. Adding
these assertions revealed that we were duplicating a lot of work
and setting these indexed twice when running in DWO mode.

Diff Detail

Event Timeline

sbc100 created this revision.Dec 21 2020, 10:25 AM
sbc100 requested review of this revision.Dec 21 2020, 10:25 AM
Herald added a project: Restricted Project. · View Herald TranscriptDec 21 2020, 10:25 AM
sbc100 edited the summary of this revision. (Show Details)Dec 21 2020, 10:28 AM
sbc100 added a reviewer: dschuff.
dschuff accepted this revision.Jan 5 2021, 5:04 PM
This revision is now accepted and ready to land.Jan 5 2021, 5:04 PM