diff options
author | Chris Lattner <sabre@nondot.org> | 2010-04-04 19:09:29 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-04-04 19:09:29 +0000 |
commit | 7e1a8f882f1baa1c0d5204373d6eb4cb7fc9f3ea (patch) | |
tree | b210f923af32c6032251bc09c77b82ca460f93ec /include | |
parent | 17fedf216bc10c66e02694854f522cb602097005 (diff) | |
download | external_llvm-7e1a8f882f1baa1c0d5204373d6eb4cb7fc9f3ea.zip external_llvm-7e1a8f882f1baa1c0d5204373d6eb4cb7fc9f3ea.tar.gz external_llvm-7e1a8f882f1baa1c0d5204373d6eb4cb7fc9f3ea.tar.bz2 |
move uleb/sleb printing into AsmPrinter from DwarfPrinter.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100344 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/CodeGen/AsmPrinter.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/AsmPrinter.h b/include/llvm/CodeGen/AsmPrinter.h index 2262de8..1f1528b 100644 --- a/include/llvm/CodeGen/AsmPrinter.h +++ b/include/llvm/CodeGen/AsmPrinter.h @@ -313,6 +313,16 @@ namespace llvm { void EmitLabelDifference(const MCSymbol *Hi, const MCSymbol *Lo, unsigned Size) const; + //===------------------------------------------------------------------===// + // Dwarf Emission Helper Routines + //===------------------------------------------------------------------===// + + /// EmitSLEB128 - emit the specified signed leb128 value. + void EmitSLEB128(int Value, const char *Desc = 0) const; + + /// EmitULEB128 - emit the specified unsigned leb128 value. + void EmitULEB128(unsigned Value, const char *Desc = 0, + unsigned PadTo = 0) const; //===------------------------------------------------------------------===// // Inline Asm Support |