Logan Chien 80668d18e8 Move get[S|U]LEB128Size() to LEB128.h.
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.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@201937 91177308-0d34-0410-b5e6-96231b3b80d8
2014-02-22 14:00:39 +00:00
..
2014-01-24 17:20:08 +00:00
2013-08-01 18:42:28 +00:00
2014-02-04 22:53:45 +00:00
2014-01-24 17:20:08 +00:00