summaryrefslogtreecommitdiffstats
path: root/lld/lib/ReaderWriter/MachO/MachOFormat.hpp
Commit message (Collapse)AuthorAgeFilesLines
* add InputGraph functionalityShankar Easwaran2013-08-211-627/+0
| | | | llvm-svn: 188958
* This is my Driver refactoring patch. Nick Kledzik2013-04-041-2/+4
| | | | | | | | | | | | | | | | | | | | | | | The major changes are: 1) LinkerOptions has been merged into TargetInfo 2) LinkerInvocation has been merged into Driver 3) Drivers no longer convert arguments into an intermediate (core) argument list, but instead create a TargetInfo object and call setter methods on it. This is only how in-process linking would work. That is, you can programmatically set up a TargetInfo object which controls the linking. 4) Lots of tweaks to test suite to work with driver changes 5) Add the DarwinDriver 6) I heavily doxygen commented TargetInfo.h Things to do after this patch is committed: a) Consider renaming TargetInfo, given its new roll. b) Consider pulling the list of input files out of TargetInfo. This will enable in-process clients to create one TargetInfo the re-use it with different input file lists. c) Work out a way for Drivers to format the warnings and error done in core linking. llvm-svn: 178776
* 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
* Move implementation of WriterOptionsMachO to its own file. Reduced redundantNick Kledzik2012-06-111-1/+91
| | | | | | | | 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-071-146/+327
| | | | | | mach-o files llvm-svn: 158133
* Major refactoring: Remove Platform concept. In its place there are Nick Kledzik2012-05-311-0/+354
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