This is an archive of the discontinued LLVM Phabricator instance.

[lld-macho] Avoid unnecessary shared_ptr in DylibFile ctor
ClosedPublic

Authored by int3 on Aug 6 2020, 12:12 AM.

Details

Reviewers
compnerd
Group Reviewers
Restricted Project
Commits
rG7e6d67549980: [lld-macho] Avoid unnecessary shared_ptr in DylibFile ctor
Summary

DylibFile doesn't store a pointer to its InterfaceFile
parameter, so there's no need to use a shared_ptr.

Diff Detail

Event Timeline

int3 created this revision.Aug 6 2020, 12:12 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 6 2020, 12:12 AM
int3 requested review of this revision.Aug 6 2020, 12:12 AM
compnerd accepted this revision.Aug 6 2020, 10:02 AM
This revision is now accepted and ready to land.Aug 6 2020, 10:02 AM
This revision was landed with ongoing or failed builds.Aug 12 2020, 7:51 PM
This revision was automatically updated to reflect the committed changes.