[PATCH] [lld] add InputGraph to process Command line arguments
Shankar Kalpathi Easwaran
shankarke at gmail.com
Mon Jul 29 16:08:19 PDT 2013
As me/Bigcheese discussed on IRC, these are the changes planned in the revised patch.
The name of the class remains as InputGraph, as we dont plan on flattening it to a list, and the data structure resembles a tree.
InputGraph would have functionality to just add Input Nodes and will not know anything about llvm::opt
Move OptionInfo to the driver, OptionInfo would create nodes for the InputGraph
The InputElement will have an additional function to create a LinkerInput from it, for lld to use
Still to be added :-
a) Add tests
b) Add functionality to dump
c) Changes to be done in other flavors too
Hi Bigcheese, kledzik, ruiu,
http://llvm-reviews.chandlerc.com/D1217
CHANGE SINCE LAST DIFF
http://llvm-reviews.chandlerc.com/D1217?vs=3001&id=3058#toc
Files:
include/lld/Core/File.h
include/lld/Core/TargetInfo.h
include/lld/Driver/Driver.h
include/lld/Driver/GnuLDInputGraph.h
include/lld/Driver/InputGraph.h
include/lld/Driver/LinkerInput.h
lib/Driver/CMakeLists.txt
lib/Driver/CoreDriver.cpp
lib/Driver/DarwinLdDriver.cpp
lib/Driver/Driver.cpp
lib/Driver/GnuLdDriver.cpp
lib/Driver/InputGraph.cpp
lib/Driver/LDOptions.td
lib/Driver/WinLinkDriver.cpp
lib/ReaderWriter/ELF/ELFTargetInfo.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D1217.2.patch
Type: text/x-patch
Size: 49438 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130729/6335a0bc/attachment.bin>
More information about the llvm-commits
mailing list