Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | [ELF] Use entry point from LinkerOptions. | Michael J. Spencer | 2013-01-28 | 1 | -2/+0 | |
| | | | | | | Patch by Ahmed Bougacha! llvm-svn: 173655 | |||||
* | add elf targethandler | Shankar Easwaran | 2013-01-25 | 2 | -8/+9 | |
| | | | | llvm-svn: 173430 | |||||
* | Move SimpleAtoms.h to ReaderWriter. | Michael J. Spencer | 2013-01-24 | 6 | -258/+3 | |
| | | | | llvm-svn: 173380 | |||||
* | Add SectionPosition and OrderPass | Nick Kledzik | 2013-01-23 | 2 | -0/+6 | |
| | | | | llvm-svn: 173300 | |||||
* | Add PassManager. | Michael J. Spencer | 2013-01-23 | 3 | -17/+10 | |
| | | | | | | It owns and manages passes. llvm-svn: 173287 | |||||
* | Move everything over to TargetInfo. | Michael J. Spencer | 2013-01-23 | 9 | -233/+113 | |
| | | | | | | | | I really would have liked to split this patch up, but it would greatly complicate the lld-core and lld drivers having to deal with both {Reader,Writer}Option and TargetInfo. llvm-svn: 173217 | |||||
* | Add {,ELF,MachO}TargetInfo. | Michael J. Spencer | 2013-01-22 | 2 | -0/+63 | |
| | | | | llvm-svn: 173117 | |||||
* | Factor File::addAtom out to MutableFile::addAtom. | Michael J. Spencer | 2013-01-12 | 1 | -1/+1 | |
| | | | | | | This removes a bunch of llvm_unreachables and makes a File's mutability part of the type system. llvm-svn: 172297 | |||||
* | Add library dependencies to the lld cmake build. | Benjamin Kramer | 2012-12-04 | 1 | -0/+5 | |
| | | | | llvm-svn: 169306 | |||||
* | rename dylibNamesToOrdinal now that it is an ivar | Nick Kledzik | 2012-11-01 | 1 | -6/+6 | |
| | | | | llvm-svn: 167254 | |||||
* | [MachO] Fix use after free. | Michael J. Spencer | 2012-11-01 | 1 | -1/+1 | |
| | | | | llvm-svn: 167245 | |||||
* | [MachO] Fix uninitialized variables. | Michael J. Spencer | 2012-11-01 | 1 | -1/+4 | |
| | | | | llvm-svn: 167244 | |||||
* | Fix -Wcovered-switch-default warning. | Michael J. Spencer | 2012-09-28 | 1 | -2/+0 | |
| | | | | llvm-svn: 164846 | |||||
* | ELF support for LLD writer. The writer at present emits ELF header and section | Hemant Kulkarni | 2012-09-14 | 1 | -4/+1 | |
| | | | | | | | | | | table header. Skeleton code for ReferenceKinds. Credits: Doxygen by Michael Spencer. Origianl implementation from Macho by Sidney Manning. Templatization, implementation of section header chunks, string table, ELF header by Hemant Kulkarni. llvm-svn: 163906 | |||||
* | PR13467: Fix mach-o writer to handle case of zero stubs. Renumber ↵ | Nick Kledzik | 2012-07-30 | 1 | -0/+3 | |
| | | | | | | TestingHelpers kind values llvm-svn: 160982 | |||||
* | Fix MSVC compat. MSVC doesn't have bzero. | Michael J. Spencer | 2012-06-17 | 1 | -2/+2 | |
| | | | | | | | | | | Although the code is not valid to begin with. It is trying to do a raw memory copy of a non standard-layout type. nameoffset is not guaranteed to directly follow cmdsize. This should be properly fixed. llvm-svn: 158612 | |||||
* | Add 'invalid' as a Reference Kind so that unknown/invalid kind strings can ↵ | Nick Kledzik | 2012-06-15 | 2 | -3/+24 | |
| | | | | | | return that fact to the caller for use in constructing an error message, rather that triggering an assertion. llvm-svn: 158547 | |||||
* | remove return statements after llvm_unreachable() as the compiler no longer ↵ | Nick Kledzik | 2012-06-15 | 2 | -13/+0 | |
| | | | | | | warns abot missing return values llvm-svn: 158544 | |||||
* | use llvm_unreachable() instead of assert(0) for invalid enum values in ↵ | Nick Kledzik | 2012-06-15 | 3 | -14/+15 | |
| | | | | | | switch statements llvm-svn: 158542 | |||||
* | Use ADT/StringSwitch | Nick Kledzik | 2012-06-15 | 1 | -73/+41 | |
| | | | | llvm-svn: 158541 | |||||
* | flesh out mach-o Reference Kinds | Nick Kledzik | 2012-06-12 | 4 | -96/+218 | |
| | | | | llvm-svn: 158375 | |||||
* | Move implementation of WriterOptionsMachO to its own file. Reduced redundant | Nick Kledzik | 2012-06-11 | 10 | -332/+1076 | |
| | | | | | | | | ivars in WriterOptionsMachO instead have its methods compute ivar interactions. Refactor mach-o Reference Kinds and introduce abstract class KindHandler. Split up StubAtoms.hpp by architecture. Add support for 32-bit x86 stubs. llvm-svn: 158336 | |||||
* | abstract load commands to that WriterMachO can write 64-bit and 32-bit ↵ | Nick Kledzik | 2012-06-07 | 2 | -187/+401 | |
| | | | | | | mach-o files llvm-svn: 158133 | |||||
* | Major refactoring: Remove Platform concept. In its place there are | Nick Kledzik | 2012-05-31 | 10 | -0/+2797 | |
now Reader and Writer subclasses for each file format. Each Reader and Writer subclass defines an "options" class which controls how that Reader or Writer operates. llvm-svn: 157774 |