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

Inherited from AsmPrinterHandler:

Methods

WinCFGuard(llvm::AsmPrinter* A)

Declared at: llvm/lib/CodeGen/AsmPrinter/WinCFGuard.h:29

Parameters

llvm::AsmPrinter* A

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)

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)

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()

Description

Process end of an instruction.

Declared at: llvm/lib/CodeGen/AsmPrinter/WinCFGuard.h:51

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)

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()

Description

Pin vtable to this file.

Declared at: llvm/lib/CodeGen/AsmPrinter/WinCFGuard.h:30