commit | 80668d18e8064560bb6c227cde4e2a01d32e683e | [log] [tgz] |
---|---|---|
author | Logan Chien <tzuhsiang.chien@gmail.com> | Sat Feb 22 14:00:39 2014 +0000 |
committer | Logan Chien <tzuhsiang.chien@gmail.com> | Sat Feb 22 14:00:39 2014 +0000 |
tree | 69fab20851cfdff7e1f0d2ee797e0cfe97809cee | |
parent | fb24ccfa32c12dc7ab12b70f2c3db404dbab7581 [diff] |
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