LLVM  8.0.0svn
Public Member Functions | List of all members
llvm::WinCFGuard Class Reference

#include "CodeGen/AsmPrinter/WinCFGuard.h"

Inheritance diagram for llvm::WinCFGuard:
Inheritance graph
[legend]
Collaboration diagram for llvm::WinCFGuard:
Collaboration graph
[legend]

Public Member Functions

 WinCFGuard (AsmPrinter *A)
 
 ~WinCFGuard () override
 
void setSymbolSize (const MCSymbol *Sym, uint64_t Size) override
 For symbols that have a size designated (e.g. More...
 
void endModule () override
 Emit the Control Flow Guard function ID table. More...
 
void beginFunction (const MachineFunction *MF) override
 Gather pre-function debug information. More...
 
void endFunction (const MachineFunction *MF) override
 Gather post-function debug information. More...
 
void beginInstruction (const MachineInstr *MI) override
 Process beginning of an instruction. More...
 
void endInstruction () override
 Process end of an instruction. More...
 
- Public Member Functions inherited from llvm::AsmPrinterHandler
virtual ~AsmPrinterHandler ()
 Pin vtable to this file. More...
 
virtual void markFunctionEnd ()
 
virtual void beginFragment (const MachineBasicBlock *MBB, ExceptionSymbolProvider ESP)
 
virtual void endFragment ()
 
virtual void beginFunclet (const MachineBasicBlock &MBB, MCSymbol *Sym=nullptr)
 Emit target-specific EH funclet machinery. More...
 
virtual void endFunclet ()
 

Detailed Description

Definition at line 22 of file WinCFGuard.h.

Constructor & Destructor Documentation

◆ WinCFGuard()

WinCFGuard::WinCFGuard ( AsmPrinter A)

Definition at line 29 of file WinCFGuard.cpp.

◆ ~WinCFGuard()

WinCFGuard::~WinCFGuard ( )
override

Definition at line 31 of file WinCFGuard.cpp.

Member Function Documentation

◆ beginFunction()

void llvm::WinCFGuard::beginFunction ( const MachineFunction MF)
inlineoverridevirtual

Gather pre-function debug information.

Every beginFunction(MF) call should be followed by an endFunction(MF) call.

Implements llvm::AsmPrinterHandler.

Definition at line 38 of file WinCFGuard.h.

◆ beginInstruction()

void llvm::WinCFGuard::beginInstruction ( const MachineInstr MI)
inlineoverridevirtual

Process beginning of an instruction.

Implements llvm::AsmPrinterHandler.

Definition at line 46 of file WinCFGuard.h.

◆ endFunction()

void llvm::WinCFGuard::endFunction ( const MachineFunction MF)
inlineoverridevirtual

Gather post-function debug information.

Please note that some AsmPrinter implementations may not call beginFunction at all.

Implements llvm::AsmPrinterHandler.

Definition at line 43 of file WinCFGuard.h.

◆ endInstruction()

void llvm::WinCFGuard::endInstruction ( )
inlineoverridevirtual

Process end of an instruction.

Implements llvm::AsmPrinterHandler.

Definition at line 49 of file WinCFGuard.h.

◆ endModule()

void WinCFGuard::endModule ( )
overridevirtual

◆ setSymbolSize()

void llvm::WinCFGuard::setSymbolSize ( const MCSymbol Sym,
uint64_t  Size 
)
inlineoverridevirtual

For symbols that have a size designated (e.g.

common symbols), this tracks that size.

Implements llvm::AsmPrinterHandler.

Definition at line 30 of file WinCFGuard.h.


The documentation for this class was generated from the following files: