OSDN Git Service

[Support] add decodeSLEB128()
authorNick Kledzik <kledzik@apple.com>
Mon, 15 Sep 2014 21:51:49 +0000 (21:51 +0000)
committerNick Kledzik <kledzik@apple.com>
Mon, 15 Sep 2014 21:51:49 +0000 (21:51 +0000)
commit9885a59108ea44a71fd6e7cbeb516072c5cad362
tree9fb523deaf21e28ceadc4117e420831dd7c3ce2d
parent05cd1489c091a9ef4f26b309bf3758008b39d8c4
[Support] add decodeSLEB128()

We already have routines to encode SLEB128 as well as encode/decode ULEB128.
This last function fills out the matrix.  I'll need this for some llvm-objdump
work I am doing.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@217830 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/LEB128.h
unittests/Support/LEB128Test.cpp