llvm-project/lld/lib
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
..
Core Greatly simplify InputGraph. 2014-04-01 21:55:36 +00:00
Driver Greatly simplify InputGraph. 2014-04-01 21:55:36 +00:00
Passes Do not use layout-before to layout atoms. 2014-03-27 22:08:26 +00:00
ReaderWriter [core] support .gnu.linkonce sections 2014-04-01 03:49:55 +00:00
CMakeLists.txt Add the core architecture for the lld driver. 2012-12-08 00:47:36 +00:00