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
..
2013-12-05 00:34:11 +00:00
2014-01-30 04:02:47 +00:00
2013-10-25 03:29:42 +00:00
2013-08-25 19:48:46 +00:00
2013-12-05 05:44:44 +00:00