This is an archive of the discontinued LLVM Phabricator instance.

[ELF] - Step to combine LinkerScript and LinkerScriptBase
ClosedPublic

Authored by grimar on Mar 13 2017, 8:06 AM.

Details

Summary

We can move all not templated functionality to LinkerScriptBase.
Patch do that for hasPhdrsCommands() and shows how it helps to detemplate
things in other places.

Probably we should be able to merge these 2 classes into single one after such steps.
Even if not, it still looks as reasonable cleanup for me.

Diff Detail

Repository
rL LLVM

Event Timeline

grimar created this revision.Mar 13 2017, 8:06 AM
ruiu accepted this revision.Mar 13 2017, 11:44 AM

LGTM

ELF/LinkerScript.h
239–240 ↗(On Diff #91564)

Why two "public" labels?

This revision is now accepted and ready to land.Mar 13 2017, 11:44 AM
This revision was automatically updated to reflect the committed changes.