Move [SU]LEB128 encoding to a utility header.
authorJim Grosbach <grosbach@apple.com>
Wed, 8 Aug 2012 23:56:06 +0000 (23:56 +0000)
committerJim Grosbach <grosbach@apple.com>
Wed, 8 Aug 2012 23:56:06 +0000 (23:56 +0000)
commit2d39a0e52df9ce050bd4e2de3a2ecca8fd9a87c3
tree5cbceaa7838dcbf235112928cd53adf48e3b5244
parentfdd6484b41ef0fa7eb8c995fb34b728b193c6258
Move [SU]LEB128 encoding to a utility header.

These functions are very generic. There's no reason for them to
be tied to MCObjectWriter.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@161545 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/MC/MCObjectWriter.h
include/llvm/Support/LEB128.h [new file with mode: 0644]
lib/MC/MCAssembler.cpp
lib/MC/MCDwarf.cpp
lib/MC/MCObjectWriter.cpp
lib/MC/MCStreamer.cpp