summaryrefslogtreecommitdiffstats
path: root/lld/unittests/MachOTests/CMakeLists.txt
Commit message (Collapse)AuthorAgeFilesLines
* update library dependencyNick Kledzik2014-09-291-0/+1
| | | | llvm-svn: 218646
* [MachO] Begin to add some MachO specific File/Atoms, and add the start ofJoey Gouly2014-01-031-0/+1
| | | | | | normalizedToAtoms. llvm-svn: 198459
* [mach-o] binary reader and writer Nick Kledzik2013-11-061-0/+2
| | | | | | | | | | This patch adds support for converting normalized mach-o to and from binary mach-o. It also changes WriterMachO (which previously directly wrote a mach-o binary given a set of Atoms) to instead do it in two steps. The first step uses normalizedFromAtoms() to convert Atoms to normalized mach-o, and the second step uses writeBinary() which to generate the mach-o binary file. llvm-svn: 194167
* Supoort mach-o encoded in yaml.Nick Kledzik2013-10-081-0/+9
This is the first step in how I plan to get mach-o object files support into lld. We need to be able to test the mach-o Reader and Write on systems without a mach-o tools. Therefore, we want to support a textual way (YAML) to represent mach-o files. MachONormalizedFile.h defines an in-memory abstraction of the content of mach-o files. The in-memory data structures are always native endianess and always use 64-bit sizes. That internal data structure can then be converted to or from three different formats: 1) yaml (text) encoded mach-o, 2) binary mach-o files, 3) lld Atoms. This patch defines the internal model and uses YAML I/O to implement the conversion to and from the model to yaml. The next patch will implement the conversion from normalized to binary mach-o. This patch includes unit tests to validate the yaml conversion APIs. llvm-svn: 192147
OpenPOWER on IntegriCloud