summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/Support/LEB128Test.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [Support] add decodeSLEB128()Nick Kledzik2014-09-151-0/+36
| | | | | | | | 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. llvm-svn: 217830
* [Support] Fix the overflow bug in ULEB128 decoding.Alex Lorenz2014-08-221-0/+1
| | | | | | Differential Revision: http://reviews.llvm.org/D5029 llvm-svn: 216268
* Move get[S|U]LEB128Size() to LEB128.h.Logan Chien2014-02-221-0/+311
This commit moves getSLEB128Size() and getULEB128Size() from MCAsmInfo to LEB128.h and removes some copy-and-paste code. Besides, this commit also adds some unit tests for the LEB128 functions. llvm-svn: 201937
OpenPOWER on IntegriCloud