class WinCFGuard
Declaration
class WinCFGuard : public AsmPrinterHandler { /* full declaration omitted */ };
Description
Collects and handles AsmPrinter objects required to build debug or EH information.
Declared at: llvm/lib/CodeGen/AsmPrinter/WinCFGuard.h:23
Inherits from: AsmPrinterHandler
Method Overview
- public WinCFGuard(llvm::AsmPrinter * A)
- public void beginFunction(const llvm::MachineFunction * MF)
- public void beginInstruction(const llvm::MachineInstr * MI)
- public void endFunction(const llvm::MachineFunction * MF)
- public void endInstruction()
- public void endModule()
- public void setSymbolSize(const llvm::MCSymbol * Sym, uint64_t Size)
- public ~WinCFGuard()
Inherited from AsmPrinterHandler:
- public beginFragment
- public beginFunclet
- public beginFunction
- public beginInstruction
- public endFragment
- public endFunclet
- public endFunction
- public endInstruction
- public endModule
- public markFunctionEnd
- public setSymbolSize
Methods
¶WinCFGuard(llvm::AsmPrinter* A)
WinCFGuard(llvm::AsmPrinter* A)
Declared at: llvm/lib/CodeGen/AsmPrinter/WinCFGuard.h:29
Parameters
¶void beginFunction(
const llvm::MachineFunction* MF)
void beginFunction(
const llvm::MachineFunction* MF)
Description
Gather pre-function debug information. Every beginFunction(MF) call should be followed by an endFunction(MF) call.
Declared at: llvm/lib/CodeGen/AsmPrinter/WinCFGuard.h:40
Parameters
- const llvm::MachineFunction* MF
¶void beginInstruction(
const llvm::MachineInstr* MI)
void beginInstruction(
const llvm::MachineInstr* MI)
Description
Process beginning of an instruction.
Declared at: llvm/lib/CodeGen/AsmPrinter/WinCFGuard.h:48
Parameters
- const llvm::MachineInstr* MI
¶void endFunction(const llvm::MachineFunction* MF)
void endFunction(const llvm::MachineFunction* MF)
Description
Gather post-function debug information. Please note that some AsmPrinter implementations may not call beginFunction at all.
Declared at: llvm/lib/CodeGen/AsmPrinter/WinCFGuard.h:45
Parameters
- const llvm::MachineFunction* MF
¶void endInstruction()
void endInstruction()
Description
Process end of an instruction.
Declared at: llvm/lib/CodeGen/AsmPrinter/WinCFGuard.h:51
¶void endModule()
void endModule()
Description
Emit the Control Flow Guard function ID table.
Declared at: llvm/lib/CodeGen/AsmPrinter/WinCFGuard.h:35
¶void setSymbolSize(const llvm::MCSymbol* Sym,
uint64_t Size)
void setSymbolSize(const llvm::MCSymbol* Sym,
uint64_t Size)
Description
For symbols that have a size designated (e.g. common symbols), this tracks that size.
Declared at: llvm/lib/CodeGen/AsmPrinter/WinCFGuard.h:32
Parameters
- const llvm::MCSymbol* Sym
- uint64_t Size
¶~WinCFGuard()
~WinCFGuard()
Description
Pin vtable to this file.
Declared at: llvm/lib/CodeGen/AsmPrinter/WinCFGuard.h:30