summaryrefslogtreecommitdiffstats
path: root/lld/lib/Driver/InputGraph.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Move InputGraph from Driver to Core. LinkingContext depends on it.Michael J. Spencer2013-11-141-176/+0
| | | | llvm-svn: 194641
* Re-submit r194551: Use empty() instead of size() == 0.Rui Ueyama2013-11-131-2/+2
| | | | llvm-svn: 194556
* Revert "Use empty() instead of size() == 0."Rui Ueyama2013-11-131-2/+2
| | | | | | This reverts commit r194551 because it broke the buildbot. llvm-svn: 194552
* Use empty() instead of size() == 0.Rui Ueyama2013-11-131-2/+2
| | | | llvm-svn: 194551
* [cleanup] remove readFile and replace with getBuffer.Shankar Easwaran2013-11-111-19/+2
| | | | | | no functionality change. llvm-svn: 194360
* Remove unnecessary namespace qualifier.Rui Ueyama2013-11-051-2/+2
| | | | llvm-svn: 194037
* Replace ErrorOr<void> with error_code.Rafael Espindola2013-11-051-1/+1
| | | | | | It was never transporting any value in addition to the error_code. llvm-svn: 194028
* Replace a recursive tail call with an infinite loop.Rui Ueyama2013-10-111-16/+19
| | | | | | This eliminates _elements's size check from the loop. llvm-svn: 192418
* Do not process .objtxt file twice.Rui Ueyama2013-10-091-2/+5
| | | | | | | | | A file with .objtxt extension is parsed in readFile(), but because we did not propagate that information to the calling side, calling side would try to parse it again. This patch will fix the issue by adding an extra parameter to readFile(). llvm-svn: 192311
* [Layout] Assign ordinals in Resolution order.Shankar Easwaran2013-10-091-27/+0
| | | | llvm-svn: 192277
* [inputGraph] Associate Resolve state with appropriate nodesShankar Easwaran2013-10-091-1/+66
| | | | | | | | | | This associates resolveState to FileNodes. The control node derive their resolution state from the inputElements that are contained in it. This makes --start-group/--end-group to work with ELF linking. llvm-svn: 192269
* Update error classes from all lowercase to camel case.Rui Ueyama2013-10-091-1/+1
| | | | llvm-svn: 192261
* Use size_t for array index.Rui Ueyama2013-10-081-2/+2
| | | | llvm-svn: 192249
* Move duplicate code in InputGraphs to the parent class.Rui Ueyama2013-10-081-0/+29
| | | | llvm-svn: 192170
* [lld][InputGraph] Change the Resolver to use inputGraphShankar Easwaran2013-10-071-20/+69
| | | | | | | | | | | | Changes :- a) Functionality in InputGraph to insert Input elements at any position b) Functionality in the Resolver to use nextFile c) Move the functionality of assigning file ordinals to InputGraph d) Changes all inputs to MemoryBuffers e) Remove LinkerInput, InputFiles, ReaderArchive llvm-svn: 192081
* Change the parseFile argument from MemoryBuffer pointer to LinkerInputJoerg Sonnenberger2013-09-071-0/+15
| | | | | | reference. Move readFile logic into FileNode::createLinkerInput. llvm-svn: 190253
* add InputGraph functionalityShankar Easwaran2013-08-211-0/+56
llvm-svn: 188958
OpenPOWER on IntegriCloud