|
LLVM
8.0.1
|
#include "CodeGen/AsmPrinter/WinCFGuard.h"


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 () |
Definition at line 22 of file WinCFGuard.h.
| WinCFGuard::WinCFGuard | ( | AsmPrinter * | A | ) |
Definition at line 29 of file WinCFGuard.cpp.
|
override |
Definition at line 31 of file WinCFGuard.cpp.
|
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.
|
inlineoverridevirtual |
Process beginning of an instruction.
Implements llvm::AsmPrinterHandler.
Definition at line 46 of file WinCFGuard.h.
|
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.
|
inlineoverridevirtual |
Process end of an instruction.
Implements llvm::AsmPrinterHandler.
Definition at line 49 of file WinCFGuard.h.
|
overridevirtual |
Emit the Control Flow Guard function ID table.
Implements llvm::AsmPrinterHandler.
Definition at line 33 of file WinCFGuard.cpp.
References F(), llvm::MCObjectFileInfo::getGFIDsSection(), llvm::MachineModuleInfo::getModule(), llvm::MCContext::getObjectFileInfo(), llvm::AsmPrinter::getSymbol(), llvm::AsmPrinter::MMI, llvm::AsmPrinter::OutContext, and llvm::AsmPrinter::OutStreamer.
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.
1.8.13