llvm-project/lld/lib/Driver
Rui Ueyama 5632e26d36 Greatly simplify InputGraph.
InputGraph has too many knobs and controls that are not being used. This
patch is to remove dead code, unused features and a class. There are two
things that worth noting, besides simple dead code removal:

1. ControlNode class is removed. We had it as the base class of Group
class, but it provides no functionality particularly meaningful. We now
have shallower class hierarchy that is easier to understand.

2. InputGraph provides a feature to replace a node with its internal data.
It is being used to "expand" some type of node, such as a Linker Script
node, with its actual files. We used to have two options when replacing
it -- ExpandOnly or ExpandAndReplace. ExpandOnly was to expand it but not
remove the node from the tree. There is no use of that option in the code,
so it was a dead feature.

Differential Revision: http://llvm-reviews.chandlerc.com/D3252

llvm-svn: 205363
2014-04-01 21:55:36 +00:00
..
CMakeLists.txt [PECOFF] Support module-definition file. 2014-01-10 10:19:47 +00:00
CoreDriver.cpp Greatly simplify InputGraph. 2014-04-01 21:55:36 +00:00
CoreOptions.td This is my Driver refactoring patch. 2013-04-04 18:59:24 +00:00
DarwinLdDriver.cpp Fix trailing whitespace. 2014-01-27 03:09:26 +00:00
DarwinLdOptions.td Support darwin linker options: 2013-09-10 23:55:14 +00:00
Driver.cpp Greatly simplify InputGraph. 2014-04-01 21:55:36 +00:00
GnuLdDriver.cpp Greatly simplify InputGraph. 2014-04-01 21:55:36 +00:00
GnuLdInputGraph.cpp Greatly simplify InputGraph. 2014-04-01 21:55:36 +00:00
GnuLdOptions.td [ELF] Support --defsym option to define an absolute symbol. 2014-03-28 19:02:06 +00:00
TODO.rst [docs] Add list of missing GNU ld command line options. 2014-03-10 21:25:43 +00:00
UniversalDriver.cpp Make anonymous namespace as small as possible. 2014-03-27 23:34:32 +00:00
UniversalDriverOptions.td [Driver] Change UniversalDriver to use TD file. 2013-10-24 04:23:02 +00:00
WinLinkDriver.cpp Greatly simplify InputGraph. 2014-04-01 21:55:36 +00:00
WinLinkInputGraph.cpp [PECOFF] Make PECOFFFileNode::parse idempotent. 2014-04-01 06:18:19 +00:00
WinLinkModuleDef.cpp [C++11] Work around an incompatibility between llvm::tie and std::tie. 2014-03-02 13:45:18 +00:00
WinLinkOptions.td [PECOFF] Driver support for /SAFESEH option. 2014-02-21 22:30:43 +00:00