aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/MC/MCObjectWriter.h
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2012-08-08 23:56:06 +0000
committerJim Grosbach <grosbach@apple.com>2012-08-08 23:56:06 +0000
commit2d39a0e52df9ce050bd4e2de3a2ecca8fd9a87c3 (patch)
tree5cbceaa7838dcbf235112928cd53adf48e3b5244 /include/llvm/MC/MCObjectWriter.h
parentfdd6484b41ef0fa7eb8c995fb34b728b193c6258 (diff)
downloadexternal_llvm-2d39a0e52df9ce050bd4e2de3a2ecca8fd9a87c3.zip
external_llvm-2d39a0e52df9ce050bd4e2de3a2ecca8fd9a87c3.tar.gz
external_llvm-2d39a0e52df9ce050bd4e2de3a2ecca8fd9a87c3.tar.bz2
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
Diffstat (limited to 'include/llvm/MC/MCObjectWriter.h')
-rw-r--r--include/llvm/MC/MCObjectWriter.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/llvm/MC/MCObjectWriter.h b/include/llvm/MC/MCObjectWriter.h
index 6e44e6c..9591a00 100644
--- a/include/llvm/MC/MCObjectWriter.h
+++ b/include/llvm/MC/MCObjectWriter.h
@@ -182,11 +182,6 @@ public:
/// @}
- /// Utility function to encode a SLEB128 value.
- static void EncodeSLEB128(int64_t Value, raw_ostream &OS);
- /// Utility function to encode a ULEB128 value.
- static void EncodeULEB128(uint64_t Value, raw_ostream &OS,
- unsigned Padding = 0);
};
} // End llvm namespace