diff options
Diffstat (limited to 'include/llvm/CodeGen')
-rw-r--r-- | include/llvm/CodeGen/AsmPrinter.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/llvm/CodeGen/AsmPrinter.h b/include/llvm/CodeGen/AsmPrinter.h index 0129711346..4e7ea1373a 100644 --- a/include/llvm/CodeGen/AsmPrinter.h +++ b/include/llvm/CodeGen/AsmPrinter.h @@ -242,7 +242,7 @@ namespace llvm { /// special global used by LLVM. If so, emit it and return true, otherwise /// do nothing and return false. bool EmitSpecialLLVMGlobal(const GlobalVariable *GV); - + public: //===------------------------------------------------------------------===// /// LEB 128 number encoding. @@ -333,6 +333,10 @@ namespace llvm { /// debug tables. void printDeclare(const MachineInstr *MI) const; + /// getMangler - Return Mangler used by the AsmPrinter. This is used by + /// DWARF debug info generator. + Mangler *getMangler() { return Mang; } + /// postInstructionAction - Handling printing of items after the /// instruction iteself has been printed (e.g. comments) void postInstructionAction(const MachineInstr &MI) const { |