This is an archive of the discontinued LLVM Phabricator instance.

ELF2: Simplify Writer interface.
ClosedPublic

Authored by ruiu on Aug 5 2015, 1:25 PM.

Details

Reviewers
rafael
Summary

We are using Writer more like a function instead of a class.
This patch makes it a function to simplify the interface.
All details of Writer class is now hidden from other parts of the linker.

Diff Detail

Event Timeline

ruiu updated this revision to Diff 31389.Aug 5 2015, 1:25 PM
ruiu retitled this revision from to ELF2: Simplify Writer interface..
ruiu updated this object.
ruiu added a reviewer: rafael.
ruiu set the repository for this revision to rL LLVM.
ruiu added a subscriber: llvm-commits.
rafael accepted this revision.Aug 5 2015, 4:14 PM
rafael edited edge metadata.

LGTM with a nit.

ELF/Writer.cpp
26

Can we use an anonymous namespace for some of these?

This revision is now accepted and ready to land.Aug 5 2015, 4:14 PM
Eugene.Zelenko added a subscriber: Eugene.Zelenko.

Committed in r244169.