diff options
Diffstat (limited to 'llvm/lib/Target/SystemZ/SystemZAsmPrinter.h')
| -rw-r--r-- | llvm/lib/Target/SystemZ/SystemZAsmPrinter.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/llvm/lib/Target/SystemZ/SystemZAsmPrinter.h b/llvm/lib/Target/SystemZ/SystemZAsmPrinter.h index 303cce1a1b65..2696702b4455 100644 --- a/llvm/lib/Target/SystemZ/SystemZAsmPrinter.h +++ b/llvm/lib/Target/SystemZ/SystemZAsmPrinter.h @@ -111,6 +111,15 @@ public: bool PrintAsmMemoryOperand(const MachineInstr *MI, unsigned OpNo, const char *ExtraCode, raw_ostream &OS) override; + bool runOnMachineFunction(MachineFunction &MF) override { + AsmPrinter::runOnMachineFunction(MF); + + // Emit the XRay table for this function. + emitXRayTable(); + + return false; + } + bool doInitialization(Module &M) override { SM.reset(); return AsmPrinter::doInitialization(M); @@ -124,6 +133,9 @@ private: void LowerFENTRY_CALL(const MachineInstr &MI, SystemZMCInstLower &MCIL); void LowerSTACKMAP(const MachineInstr &MI); void LowerPATCHPOINT(const MachineInstr &MI, SystemZMCInstLower &Lower); + void LowerPATCHABLE_FUNCTION_ENTER(const MachineInstr &MI, + SystemZMCInstLower &Lower); + void LowerPATCHABLE_RET(const MachineInstr &MI, SystemZMCInstLower &Lower); void emitAttributes(Module &M); }; } // end namespace llvm |
