summaryrefslogtreecommitdiffstats
path: root/lld/lib/Core/Reader.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Delete more ELF bits from the old linker.Rafael Espindola2016-02-281-1/+0
| | | | llvm-svn: 262181
* Use MemoryBufferRef instead of MemoryBuffer&. NFC.Rafael Espindola2015-04-241-1/+1
| | | | | | This just reduces the noise from another patch. llvm-svn: 235776
* Return ErrorOr<std::unique_ptr<File>>. NFC.Rafael Espindola2015-04-241-8/+3
| | | | llvm-svn: 235744
* Return an ErrorOr<std::unique_ptr<File>>. NFC.Rafael Espindola2015-04-241-1/+4
| | | | llvm-svn: 235741
* Delete unnecessary generality in loadFile.Rafael Espindola2015-04-241-3/+2
| | | | | | | | | | | | | loadFile could load mulitple files just because yaml has a feature for putting multiple documents in one file. Designing a linker around what yaml can do seems like a bad idea to me. This patch changes it to read a single file. There are further improvements to be done to the api and they will follow shortly. llvm-svn: 235724
* Remove a parameter for file extension from canParse.Rui Ueyama2015-04-041-5/+2
| | | | | | | | canParse took three parameters -- file magic, filename extension and memory buffer. All but YAMLReader ignored the second parameter. This patch removes the parameter. llvm-svn: 234080
* Remove dead code.Rui Ueyama2015-03-091-1/+0
| | | | llvm-svn: 231688
* Remove kindInGroup reference.Rui Ueyama2015-01-271-1/+0
| | | | | | | | | | | | That kind of reference was used only in ELFFile, and the use of that reference there didn't seem to make sense. All test still pass (after adjusting symbol names) without that code. LLD is still be able to link LLD and Clang. Looks like we just don't need this. http://reviews.llvm.org/D7189 llvm-svn: 227259
* Fix five of the shared library build targetsGreg Fitzgerald2015-01-211-0/+119
Before this patch there was a cyclic dependency between lldCore and lldReaderWriter. Only lldConfig could be built as a shared library. * Moved Reader and Writer base classes into lldCore. * The following shared libraries can now be built: lldCore lldYAML lldNative lldPasses lldReaderWriter Differential Revision: http://reviews.llvm.org/D7105 From: Greg Fitzgerald <garious@gmail.com> llvm-svn: 226732
OpenPOWER on IntegriCloud