diff options
author | Chris Lattner <sabre@nondot.org> | 2010-04-04 23:41:46 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-04-04 23:41:46 +0000 |
commit | 02b86b93dc4616571fed3473c6da9421c10f2fcc (patch) | |
tree | f62250144d66d154730e5e223e61f9e9a3f5b3b3 /include/llvm/CodeGen/AsmPrinter.h | |
parent | 3c754aa81564727805be94089694abeb8fe65160 (diff) | |
download | llvm-02b86b93dc4616571fed3473c6da9421c10f2fcc.tar.gz llvm-02b86b93dc4616571fed3473c6da9421c10f2fcc.tar.bz2 llvm-02b86b93dc4616571fed3473c6da9421c10f2fcc.tar.xz |
Move EmitFrameMoves into AsmPrinter.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100371 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/AsmPrinter.h')
-rw-r--r-- | include/llvm/CodeGen/AsmPrinter.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/include/llvm/CodeGen/AsmPrinter.h b/include/llvm/CodeGen/AsmPrinter.h index 06c2f7546a..92a9a08dbe 100644 --- a/include/llvm/CodeGen/AsmPrinter.h +++ b/include/llvm/CodeGen/AsmPrinter.h @@ -41,6 +41,7 @@ namespace llvm { class MachineConstantPoolValue; class MachineJumpTableInfo; class MachineModuleInfo; + class MachineMove; class MCInst; class MCContext; class MCSection; @@ -341,7 +342,7 @@ namespace llvm { /// encoding. If verbose assembly output is enabled, we output comments /// describing the encoding. Desc is a string saying what the encoding is /// specifying (e.g. "LSDA"). - void EmitEncodingByte(unsigned Val, const char *Desc = 0); + void EmitEncodingByte(unsigned Val, const char *Desc = 0) const; /// GetSizeOfEncodedValue - Return the size of the encoding in bytes. unsigned GetSizeOfEncodedValue(unsigned Encoding) const; @@ -361,6 +362,15 @@ namespace llvm { void EmitSectionOffset(const MCSymbol *Label, const MCSymbol *SectionLabel) const; + //===------------------------------------------------------------------===// + // Dwarf Lowering Routines + //===------------------------------------------------------------------===// + + /// EmitFrameMoves - Emit frame instructions to describe the layout of the + /// frame. + void EmitFrameMoves(const std::vector<MachineMove> &Moves, + MCSymbol *BaseLabel, bool isEH) const; + //===------------------------------------------------------------------===// // Inline Asm Support |