Add encode and decode methods to InlineInfo and document encoding format to the GSYM...
authorGreg Clayton <clayborg@gmail.com>
Wed, 4 Sep 2019 17:32:51 +0000 (17:32 +0000)
committerGreg Clayton <clayborg@gmail.com>
Wed, 4 Sep 2019 17:32:51 +0000 (17:32 +0000)
commit7d0a545ee65eb181c28066dc06fc3fb9443a653e
tree1ec0dccfc1cac82b232b9f19bd9ec87645695234
parent0e07248704fa97f6c7d9e007f82db17116fbaf78
Add encode and decode methods to InlineInfo and document encoding format to the GSYM file format.

This patch adds the ability to encode and decode InlineInfo objects and adds test coverage. Error handling is introduced in the encoding and decoding which will be used from here on out for remaining patches.

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

llvm-svn: 370936
llvm/include/llvm/DebugInfo/GSYM/InlineInfo.h
llvm/include/llvm/DebugInfo/GSYM/Range.h
llvm/lib/DebugInfo/GSYM/InlineInfo.cpp
llvm/lib/DebugInfo/GSYM/Range.cpp
llvm/unittests/DebugInfo/GSYM/GSYMTest.cpp