]> granicus.if.org Git - llvm/commit
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)
commitd9ad3be1c944cfa2217ad117a7d6df4ec1e03eec
treef5a1d96d4b37a99fca49abc4c3491873c50f6398
parent9a3265114abd2e18a6edb48d16969d469638a291
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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@370936 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/DebugInfo/GSYM/InlineInfo.h
include/llvm/DebugInfo/GSYM/Range.h
lib/DebugInfo/GSYM/InlineInfo.cpp
lib/DebugInfo/GSYM/Range.cpp
unittests/DebugInfo/GSYM/GSYMTest.cpp