| Index: include/llvm/MC/MCAsmBackend.h
|
| diff --git a/include/llvm/MC/MCAsmBackend.h b/include/llvm/MC/MCAsmBackend.h
|
| index 15a956b0a62928d7ece576c7c5e12bf236882b76..dbe505f68d085ba70de8326e1d768d9acd606c82 100644
|
| --- a/include/llvm/MC/MCAsmBackend.h
|
| +++ b/include/llvm/MC/MCAsmBackend.h
|
| @@ -27,6 +27,7 @@ class MCInst;
|
| class MCRelaxableFragment;
|
| class MCObjectWriter;
|
| class MCSection;
|
| +class MCStreamer;
|
| class MCValue;
|
| class raw_ostream;
|
|
|
| @@ -149,6 +150,16 @@ public:
|
| generateCompactUnwindEncoding(ArrayRef<MCCFIInstruction>) const {
|
| return 0;
|
| }
|
| +
|
| + // @LOCALMOD-BEGIN
|
| + /// CustomExpandInst -
|
| + /// If the MCInst instruction has a custom expansion, write it to the
|
| + /// MCStreamer 'Out'. This can be used to perform "last minute" rewrites of
|
| + /// MCInst instructions for emission.
|
| + virtual bool CustomExpandInst(const MCInst &Inst, MCStreamer &Out) {
|
| + return false;
|
| + }
|
| + // @LOCALMOD-END
|
| };
|
|
|
| } // End llvm namespace
|
|
|