]> granicus.if.org Git - llvm/commit
GSYM: add encoding and decoding to FunctionInfo
authorGreg Clayton <clayborg@gmail.com>
Tue, 17 Sep 2019 16:15:49 +0000 (16:15 +0000)
committerGreg Clayton <clayborg@gmail.com>
Tue, 17 Sep 2019 16:15:49 +0000 (16:15 +0000)
commitd4f9d51f7ef05e4e3a2ff576bf6ba84ca0fc6aec
tree5b1670e1aee1a7e7bbb2c5d378fe3e4bb9f8429f
parentfa16ddf26fb542808d53aee8c2907e80e95fdd00
GSYM: add encoding and decoding to FunctionInfo

This patch adds encoding and decoding of the FunctionInfo objects along with full error handling and tests. Full details of the FunctionInfo encoding format appear in the FunctionInfo.h header file.

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

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