summaryrefslogtreecommitdiffstats
path: root/lld/lib/ReaderWriter/ELF/X86/X86ExecutableWriter.h
Commit message (Collapse)AuthorAgeFilesLines
* Remove the old ELF linker.Rafael Espindola2016-02-281-39/+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-2/+2
| | | | | | | | 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: Define ELF{32,64}{LE,BE} types and use them everywhere.Rui Ueyama2015-04-141-10/+7
| | | | llvm-svn: 234823
* [ELF] Remove unused xxxWriter class fieldsSimon Atanasyan2015-04-071-5/+1
| | | | llvm-svn: 234357
* [ELF] Remove redundant override methods which just call base class functionsSimon Atanasyan2015-04-071-4/+0
| | | | llvm-svn: 234356
* [ELF] Simplify adding default atomsSimon Atanasyan2015-04-071-4/+0
| | | | | | | | | | | | | | | | | | | | | 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
* [ELF] Use override keyword instead of virtualSimon Atanasyan2015-04-061-3/+3
| | | | | | No functional changes. llvm-svn: 234162
* ELF: Remove empty classes.Rui Ueyama2015-04-021-3/+3
| | | | llvm-svn: 233880
* ELF: x86, x86-64, ARM, AArch64: Remove architecture name prefixes from class ↵Rui Ueyama2015-04-021-2/+2
| | | | | | members. llvm-svn: 233873
* Rename ELFLinkingContext instances "ctx" intead of "context".Rui Ueyama2015-03-271-6/+4
| | | | llvm-svn: 233344
* [ELF] Add Readers for all the ELF subtargets.Shankar Easwaran2014-10-181-0/+57
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
OpenPOWER on IntegriCloud