This is an archive of the discontinued LLVM Phabricator instance.

[lld-macho] Include install name in error messages for dylibs from TBDs
ClosedPublic

Authored by int3 on Mar 3 2021, 7:07 PM.

Details

Summary

Since multiple dylibs can be defined in one TBD, this is
necessary to avoid confusion.

Diff Detail

Event Timeline

int3 created this revision.Mar 3 2021, 7:07 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 3 2021, 7:07 PM
int3 requested review of this revision.Mar 3 2021, 7:07 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 3 2021, 7:07 PM
oontvoo added a subscriber: oontvoo.Mar 3 2021, 7:23 PM
oontvoo added inline comments.
lld/MachO/InputFiles.cpp
706

why does this need to move?

oontvoo added inline comments.Mar 3 2021, 7:24 PM
lld/MachO/InputFiles.cpp
706

Oh, never mind - because toString() needs it.

Maybe you could move the other two fields too? (just in case something else comes up)

oontvoo accepted this revision.Mar 3 2021, 7:26 PM
This revision is now accepted and ready to land.Mar 3 2021, 7:26 PM
int3 updated this revision to Diff 328198.Mar 4 2021, 9:04 AM
int3 marked 2 inline comments as done.

move up initialization of all fields

This revision was landed with ongoing or failed builds.Mar 4 2021, 11:37 AM
This revision was automatically updated to reflect the committed changes.