This is an archive of the discontinued LLVM Phabricator instance.

ELF: Move build id computation to Writer. NFCI.
ClosedPublic

Authored by pcc on Apr 5 2019, 3:21 PM.

Details

Summary

With partitions, each partition should have the same build id. This means
that the build id needs to be only computed once, otherwise we will end up
with different build ids in each partition as a result of the file contents
changing. This change moves the computation of the build id into Writer so
that it only happens once.

Event Timeline

pcc created this revision.Apr 5 2019, 3:21 PM
Herald added a project: Restricted Project. · View Herald Transcript

I think this one is probably OK. But I'd leave it to Rui.

ruiu accepted this revision.Apr 16 2019, 12:55 AM

LGTM

Sorry, I missed this one.

This revision is now accepted and ready to land.Apr 16 2019, 12:55 AM
This revision was automatically updated to reflect the committed changes.