summaryrefslogtreecommitdiffstats
path: root/lld/lib/ReaderWriter/MachO
Commit message (Collapse)AuthorAgeFilesLines
...
* [ELF] Use entry point from LinkerOptions.Michael J. Spencer2013-01-281-2/+0
| | | | | | Patch by Ahmed Bougacha! llvm-svn: 173655
* add elf targethandlerShankar Easwaran2013-01-252-8/+9
| | | | llvm-svn: 173430
* Move SimpleAtoms.h to ReaderWriter.Michael J. Spencer2013-01-246-258/+3
| | | | llvm-svn: 173380
* Add SectionPosition and OrderPassNick Kledzik2013-01-232-0/+6
| | | | llvm-svn: 173300
* Add PassManager.Michael J. Spencer2013-01-233-17/+10
| | | | | | It owns and manages passes. llvm-svn: 173287
* Move everything over to TargetInfo.Michael J. Spencer2013-01-239-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. Spencer2013-01-222-0/+63
| | | | llvm-svn: 173117
* Factor File::addAtom out to MutableFile::addAtom.Michael J. Spencer2013-01-121-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 Kramer2012-12-041-0/+5
| | | | llvm-svn: 169306
* rename dylibNamesToOrdinal now that it is an ivarNick Kledzik2012-11-011-6/+6
| | | | llvm-svn: 167254
* [MachO] Fix use after free.Michael J. Spencer2012-11-011-1/+1
| | | | llvm-svn: 167245
* [MachO] Fix uninitialized variables.Michael J. Spencer2012-11-011-1/+4
| | | | llvm-svn: 167244
* Fix -Wcovered-switch-default warning.Michael J. Spencer2012-09-281-2/+0
| | | | llvm-svn: 164846
* ELF support for LLD writer. The writer at present emits ELF header and section Hemant Kulkarni2012-09-141-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 Kledzik2012-07-301-0/+3
| | | | | | TestingHelpers kind values llvm-svn: 160982
* Fix MSVC compat. MSVC doesn't have bzero.Michael J. Spencer2012-06-171-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 Kledzik2012-06-152-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 Kledzik2012-06-152-13/+0
| | | | | | warns abot missing return values llvm-svn: 158544
* use llvm_unreachable() instead of assert(0) for invalid enum values in ↵Nick Kledzik2012-06-153-14/+15
| | | | | | switch statements llvm-svn: 158542
* Use ADT/StringSwitchNick Kledzik2012-06-151-73/+41
| | | | llvm-svn: 158541
* flesh out mach-o Reference KindsNick Kledzik2012-06-124-96/+218
| | | | llvm-svn: 158375
* Move implementation of WriterOptionsMachO to its own file. Reduced redundantNick Kledzik2012-06-1110-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 Kledzik2012-06-072-187/+401
| | | | | | mach-o files llvm-svn: 158133
* Major refactoring: Remove Platform concept. In its place there are Nick Kledzik2012-05-3110-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
OpenPOWER on IntegriCloud