diff options
Diffstat (limited to 'include/llvm/MC/MCInstPrinter.h')
-rw-r--r-- | include/llvm/MC/MCInstPrinter.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/llvm/MC/MCInstPrinter.h b/include/llvm/MC/MCInstPrinter.h index 39002dabca..4c12d10d5b 100644 --- a/include/llvm/MC/MCInstPrinter.h +++ b/include/llvm/MC/MCInstPrinter.h @@ -41,6 +41,10 @@ public: /// virtual void printInst(const MCInst *MI, raw_ostream &OS) = 0; + /// printAnnotations - Print the annotation comments attached to specified + /// MCInst to the specified raw_ostream. + void printAnnotations(const MCInst *MI, raw_ostream &OS); + /// getOpcodeName - Return the name of the specified opcode enum (e.g. /// "MOV32ri") or empty if we can't resolve it. virtual StringRef getOpcodeName(unsigned Opcode) const; |