Add a LineTable class to GSYM and test it.
authorGreg Clayton <clayborg@gmail.com>
Wed, 11 Sep 2019 20:51:03 +0000 (20:51 +0000)
committerGreg Clayton <clayborg@gmail.com>
Wed, 11 Sep 2019 20:51:03 +0000 (20:51 +0000)
commit7fcc2c2b5a9e02175cc3154f4f3983395f9840a3
tree5bf694afc81364cfd0cd7bce156bc66ef9cb2bb5
parentca6e60971e9578acb0561df7797283474291f9d9
Add a LineTable class to GSYM and test it.

This patch adds the ability to create a gsym::LineTable object, populate it, encode and decode it and test all functionality.

The full format of the LineTable encoding is specified in the header file LineTable.h.

Differential Revision: https://reviews.llvm.org/D66602

llvm-svn: 371657
llvm/include/llvm/DebugInfo/GSYM/FunctionInfo.h
llvm/include/llvm/DebugInfo/GSYM/LineTable.h [new file with mode: 0644]
llvm/lib/DebugInfo/GSYM/CMakeLists.txt
llvm/lib/DebugInfo/GSYM/FunctionInfo.cpp
llvm/lib/DebugInfo/GSYM/LineTable.cpp [new file with mode: 0644]
llvm/unittests/DebugInfo/GSYM/GSYMTest.cpp