summaryrefslogtreecommitdiffstats
path: root/llvm/include/llvm/BinaryFormat/Dwarf.h
Commit message (Collapse)AuthorAgeFilesLines
* [DWARF] Added verification checks for the .apple_names section.Spyridoula Gravani2017-06-291-0/+3
| | | | | | | | This patch verifies the number of atoms, the validity of the form for each atom, as well as the validity of the hashdata. For hashdata, we're verifying that the hashdata offset is correct and that the offset in the .debug_info for each DIE in the hashdata is also valid. llvm-svn: 306735
* [DWARF] NFC: Give DwarfFormat a 1-byte base type.Paul Robinson2017-06-261-1/+1
| | | | | | | In particular this reduces DWARFFormParams from 64 to 32 bits; pass it around by value. llvm-svn: 306324
* Move Object format code to lib/BinaryFormat.Zachary Turner2017-06-071-0/+493
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
OpenPOWER on IntegriCloud