summaryrefslogtreecommitdiffstats
path: root/llvm/lib/DebugInfo/GSYM/Header.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Add GsymCreator and GsymReader.Greg Clayton2019-10-101-13/+11
| | | | | | | | | | This patch adds the ability to create GSYM files with GsymCreator, and read them with GsymReader. Full testing has been added for both new classes. This patch differs from the original patch https://reviews.llvm.org/D53379 in that is uses a StringTableBuilder class from llvm instead of a custom version. Support for big and little endian files has been added. If the endianness matches the current host, we use efficient extraction for the header, address table and address info offset tables. Differential Revision: https://reviews.llvm.org/D68744 llvm-svn: 374381
* GSYM: Add the llvm::gsym::Header header class with testsGreg Clayton2019-09-171-0/+111
This patch adds the llvm::gsym::Header class which appears at the start of a stand alone GSYM file, or in the first bytes of the GSYM data in a GSYM section within a file. Added encode and decode methods with full error handling and full tests. Differential Revision: https://reviews.llvm.org/D67666 llvm-svn: 372149
OpenPOWER on IntegriCloud