This is an archive of the discontinued LLVM Phabricator instance.

LLD: ELF: Define mergeHeaderFlags to ELFLinkingContext.
ClosedPublic

Authored by ruiu on Apr 3 2015, 3:32 PM.

Details

Reviewers
atanasyan
Summary

Only MIPS defined the member function, but this feature is not actually
MIPS-specific. Also, the dependency to the MIPS-only member function
prevented us from merging <Arch>ELF{Object,DSO}Reader.

This patch moves the feature from MipsLinkingContext to LinkingContext.

Diff Detail

Event Timeline

ruiu updated this revision to Diff 23237.Apr 3 2015, 3:32 PM
ruiu retitled this revision from to LLD: ELF: Define mergeHeaderFlags to ELFLinkingContext..
ruiu updated this object.
ruiu edited the test plan for this revision. (Show Details)
ruiu added a reviewer: atanasyan.
ruiu set the repository for this revision to rL LLVM.
ruiu added a project: lld.
ruiu added a subscriber: Unknown Object (MLST).
atanasyan accepted this revision.Apr 3 2015, 3:43 PM
atanasyan edited edge metadata.

LGTM. Good solution.

This revision is now accepted and ready to land.Apr 3 2015, 3:43 PM
atanasyan closed this revision.Feb 3 2016, 12:36 AM
lib/ReaderWriter/ELF/ELFReader.h