UnstableChanges

Changes from Git (git http://labmaster3.local/git/llvm-project.git)

Summary

  1. Add GsymCreator and GsymReader. (details)
  2. [test] Trim the symbtab test case (NFC) (details)
  3. gn build: Merge r374381 (details)
Commit 4b6c9de868cd8135717377f56cb1c27d1ebcffb5 by clayborg
Add GsymCreator and GsymReader.
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
The file was modifiedllvm/include/llvm/DebugInfo/GSYM/FileWriter.h
The file was addedllvm/include/llvm/DebugInfo/GSYM/GsymCreator.h
The file was modifiedllvm/unittests/DebugInfo/GSYM/GSYMTest.cpp
The file was modifiedllvm/include/llvm/DebugInfo/GSYM/Header.h
The file was addedllvm/include/llvm/DebugInfo/GSYM/GsymReader.h
The file was modifiedllvm/lib/DebugInfo/GSYM/FunctionInfo.cpp
The file was addedllvm/lib/DebugInfo/GSYM/GsymReader.cpp
The file was modifiedllvm/lib/DebugInfo/GSYM/Header.cpp
The file was addedllvm/lib/DebugInfo/GSYM/GsymCreator.cpp
The file was modifiedllvm/unittests/DebugInfo/GSYM/CMakeLists.txt
The file was modifiedllvm/lib/DebugInfo/GSYM/CMakeLists.txt
Commit 5c5184be74008a8ba34d2eca477287cc96849948 by Jonas Devlieghere
[test] Trim the symbtab test case (NFC)
We don't actually need the section content for this tests.
llvm-svn: 374382
The file was modifiedlldb/test/Shell/ObjectFile/MachO/symtab.yaml
Commit dc895a325f8df7fd10663e7cbeaaa783b2a37aa6 by llvmgnsyncbot
gn build: Merge r374381
llvm-svn: 374383
The file was modifiedllvm/utils/gn/secondary/llvm/lib/DebugInfo/GSYM/BUILD.gn