This is an archive of the discontinued LLVM Phabricator instance.

[ELF] - Merge SymbolListFile and LinkerScript code.
AbandonedPublic

Authored by grimar on Aug 18 2016, 6:19 AM.

Details

Reviewers
ruiu
Summary

It was suggested in comments for D23609 to
move code from SymbolListFile to LinkerScript.

Patch do this change.

BTW, do we want to rename LinkerScript.cpp to something then ?

Diff Detail

Event Timeline

grimar updated this revision to Diff 68526.Aug 18 2016, 6:19 AM
grimar retitled this revision from to [ELF] - Merge SymbolListFile and LinkerScript code..
grimar updated this object.
grimar added a reviewer: ruiu.
grimar added subscribers: llvm-commits, grimar, davide, evgeny777.
ruiu edited edge metadata.Aug 18 2016, 1:15 PM

I was trying to say is to merge the two classes. I'd remove VersionScriptParser class and move the members to ScriptParser, so that you don't need to "cross the boundary" to read a version element.

grimar abandoned this revision.Aug 19 2016, 1:21 AM
ELF/LinkerScript.cpp