summaryrefslogtreecommitdiffstats
path: root/lld/unittests/MachOTests/MachONormalizedFileToAtomsTests.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [MachO] Add a test for detecting reserved unit length.Igor Kudrin2020-01-151-0/+38
| | | | | | This is a follow-up for D71546 to add a corresponding unit test. Differential Revision: https://reviews.llvm.org/D72695
* Update the file headers across all of the LLVM projects in the monorepoChandler Carruth2019-01-191-4/+3
| | | | | | | | | | | | | | | | | to reflect the new license. We understand that people may be surprised that we're moving the header entirely to discuss the new license. We checked this carefully with the Foundation's lawyer and we believe this is the correct approach. Essentially, all code in the project is now made available by the LLVM project under our new license, so you will see that the license headers include that license only. Some of our contributors have contributed code under our old license, and accordingly, we have retained a copy of our old license notice in the top-level files in each project and repository. llvm-svn: 351636
* Move Object format code to lib/BinaryFormat.Zachary Turner2017-06-071-2/+2
| | | | | | | | | | | | This creates a new library called BinaryFormat that has all of the headers from llvm/Support containing structure and layout definitions for various types of binary formats like dwarf, coff, elf, etc as well as the code for identifying a file from its magic. Differential Revision: https://reviews.llvm.org/D33843 llvm-svn: 304864
* Fix Clang-tidy misc-unused-using-decls and Include What You Use warnings.Eugene Zelenko2016-04-211-2/+10
| | | | | | Differential revision: http://reviews.llvm.org/D19348 llvm-svn: 267008
* Convert normalized file to atoms methods to new error handling. NFC.Pete Cooper2016-03-301-2/+2
| | | | | | | This converts almost all of the error handling in atom creation to llvm::Error instead of std::error_code. llvm-svn: 264968
* Fix Clang-tidy modernize-deprecated-headers warnings; other minor fixes.Eugene Zelenko2016-03-211-2/+0
| | | | | | Differential revision: http://reviews.llvm.org/D18232 llvm-svn: 263968
* Remove unused typedefs.Rui Ueyama2015-04-081-1/+1
| | | | llvm-svn: 234415
* Sort include files according to convention.Shankar Easwaran2014-10-181-3/+1
| | | | llvm-svn: 220131
* Uses #include "..." instead of #include <...> for llvm headers.Rafael Espindola2014-06-121-1/+1
| | | | llvm-svn: 210799
* [MachO] Add undefined atoms.Joey Gouly2014-02-021-4/+12
| | | | llvm-svn: 200649
* Whitespace.Rui Ueyama2014-01-131-4/+4
| | | | llvm-svn: 199164
* [MachO] Add basic support for local symbols.Joey Gouly2014-01-131-2/+20
| | | | llvm-svn: 199155
* [mach-o] enable mach-o and native yaml to be intermixedNick Kledzik2014-01-111-4/+5
| | | | | | | | | | | | | | | | | | The main goal of this patch is to allow "mach-o encoded as yaml" and "native encoded as yaml" documents to be intermixed. They are distinguished via yaml tags at the start of the document. This will enable all mach-o test cases to be written using yaml instead of checking in object files. The Registry was extend to allow yaml tag handlers to be registered. The mach-o Reader adds a yaml tag handler for the tag "!mach-o". Additionally, this patch fixes some buffer ownership issues. When parsing mach-o binaries, the mach-o atoms can have pointers back into the memory mapped .o file. But with yaml encoded mach-o, name and content are ephemeral, so a copyRefs parameter was added to cause the mach-o atoms to make their own copy. llvm-svn: 198986
* [mach-o] properly extract atom content from subrange of section contentNick Kledzik2014-01-081-21/+29
| | | | llvm-svn: 198728
* [MachO] Begin to add some MachO specific File/Atoms, and add the start ofJoey Gouly2014-01-031-0/+61
normalizedToAtoms. llvm-svn: 198459
OpenPOWER on IntegriCloud