This is an archive of the discontinued LLVM Phabricator instance.

Reduce number of classes by merging DIHelper with ObjectFile.
ClosedPublic

Authored by ruiu on Nov 1 2016, 4:49 PM.

Details

Summary

DIHelper is a class having only one member, and ObjectFile has
a unique pointer to a DIHelper. So we can directly have ObjectFile
have the member.

Diff Detail

Repository
rL LLVM

Event Timeline

ruiu updated this revision to Diff 76653.Nov 1 2016, 4:49 PM
ruiu retitled this revision from to Reduce number of classes by merging DIHelper with ObjectFile..
ruiu updated this object.
ruiu added a reviewer: evgeny777.
ruiu added a subscriber: llvm-commits.
evgeny777 accepted this revision.Nov 2 2016, 12:15 AM
evgeny777 edited edge metadata.

LGTM

ELF/InputFiles.cpp
81 ↗(On Diff #76653)

This comment should be changed (there is no DIHelper anymore)

This revision is now accepted and ready to land.Nov 2 2016, 12:15 AM
This revision was automatically updated to reflect the committed changes.