summaryrefslogtreecommitdiffstats
path: root/lld/lib/ReaderWriter/ELF/Hexagon/HexagonDynamicLibraryWriter.h
Commit message (Collapse)AuthorAgeFilesLines
* Remove the old ELF linker.Rafael Espindola2016-02-281-67/+0
| | | | | | I think it is clear by now that the new linker is viable. llvm-svn: 262158
* ELF: Remove ELFT template argument when referring the base class.Rui Ueyama2015-04-141-5/+4
| | | | | | | | We don't need to repeat the template argument. They are not ambiguous. MIPS is parameterized for ELFT, so we can't do this for MIPS, though. llvm-svn: 234913
* ELF: Remove this-> as much as we can.Rui Ueyama2015-04-141-1/+1
| | | | | | | These this-> are there because their classes were templated. They are no longer templated. llvm-svn: 234859
* ELF: Remove almost empty class.Rui Ueyama2015-04-141-2/+2
| | | | llvm-svn: 234834
* ELF: Define ELF{32,64}{LE,BE} types and use them everywhere.Rui Ueyama2015-04-141-5/+5
| | | | llvm-svn: 234823
* ELF: Remove useless templates that takes always the same ELF type.Rui Ueyama2015-04-141-12/+8
| | | | llvm-svn: 234820
* [ELF] Simplify adding default atomsSimon Atanasyan2015-04-071-10/+6
| | | | | | | | | | | | | | | | | | | | | Now 'writer' creates an instance of `RuntimeFile` in the constructor, then populates the file in the virtual function `addDefaultAtoms`, then pass owning of this file to the caller of virtual function `createImplicitFiles`. First, we do not need to keep an instance of `RuntimeFile` so long. It is enough to create the file, right after that populate it and pass the owning. Second, relationship between `createImplicitFiles` and `addDefaultAtoms` is complicated. The `createImplicitFiles` might call `addDefaultAtoms`, overridden version of `addDefaultAtoms` might call base class `addDefaultAtoms`, and overridden version of `createImplicitFiles` might call base class `createImplicitFiles` as well as `addDefaultAtoms`. The patch solves both problems above. It creates and populates runtime files right in the createImplicitFiles(), removes `addDefaultAtoms` at all and does not keep references to runtime files in class fields. llvm-svn: 234347
* Replace the `createImplicitFiles` method return type with `void`Simon Atanasyan2015-04-061-3/+2
| | | | | | | All instances of the `createImplicitFiles` always return `true` and this return value is used nowhere. llvm-svn: 234205
* Remove "_hexagon" prefix from some member variables.Rui Ueyama2015-03-311-9/+8
| | | | | | | At least in Mips we don't have a prefix for member variables. Repeating the architecture is verbose. llvm-svn: 233746
* Remove virtual and add override.Rui Ueyama2015-03-311-4/+4
| | | | llvm-svn: 233735
* ELF: Do not use multiple inheritance.Rui Ueyama2015-03-311-6/+5
| | | | | | | | Multiple inheritance is casually used here. Rewriting to not using multiple inheritance reduces the complexity of the code and also makes it shorter. llvm-svn: 233718
* Rename ELFLinkingContext instances "ctx" intead of "context".Rui Ueyama2015-03-271-6/+6
| | | | llvm-svn: 233344
* [ELF] Add Readers for all the ELF subtargets.Shankar Easwaran2014-10-181-1/+1
| | | | | | | | | This would permit the ELF reader to check the architecture that is being selected by the linking process. This patch also sorts the include files according to LLVM conventions. llvm-svn: 220129
* More prefixing of error_code.Rafael Espindola2014-06-121-2/+2
| | | | llvm-svn: 210831
* Use error_code() instead of error_code::succes()Rafael Espindola2014-05-311-1/+1
| | | | | | | There is no std::error_code::success, so this removes much of the noise in transitioning to std::error_code. llvm-svn: 209948
* [ELF] Fix comments.Shankar Easwaran2014-01-271-2/+1
| | | | | | | | | The comments in the files that described the file name as part of each file header ran over 80 columns, which clang-format split over multiple lines. This commit fixes to make them appear properly. llvm-svn: 200181
* [ELF] Make changes to all the targets supported currentlyShankar Easwaran2014-01-271-0/+80
X86_64,X86,PPC,Hexagon,Mips No change in functionality. llvm-svn: 200177
OpenPOWER on IntegriCloud