LLVM  13.0.0git
Macros | Functions
EHContGuardCatchret.cpp File Reference
#include "llvm/ADT/Statistic.h"
#include "llvm/CodeGen/MachineBasicBlock.h"
#include "llvm/CodeGen/MachineFunctionPass.h"
#include "llvm/CodeGen/MachineInstr.h"
#include "llvm/CodeGen/MachineModuleInfo.h"
#include "llvm/CodeGen/MachineOperand.h"
#include "llvm/CodeGen/Passes.h"
#include "llvm/InitializePasses.h"
Include dependency graph for EHContGuardCatchret.cpp:

Go to the source code of this file.


#define DEBUG_TYPE   "ehcontguard-catchret"


 STATISTIC (EHContGuardCatchretTargets, "Number of EHCont Guard catchret targets")
 INITIALIZE_PASS (EHContGuardCatchret, "EHContGuardCatchret", "Insert symbols at valid catchret targets for /guard:ehcont", false, false) FunctionPass *llvm

Detailed Description

This file contains a machine function pass to insert a symbol before each valid catchret target and store this in the MachineFunction's CatchRetTargets vector. This will be used to emit the table of valid targets used by EHCont Guard.

Definition in file EHContGuardCatchret.cpp.

Macro Definition Documentation


#define DEBUG_TYPE   "ehcontguard-catchret"

Definition at line 28 of file EHContGuardCatchret.cpp.

Function Documentation


INITIALIZE_PASS ( EHContGuardCatchret  ,
"EHContGuardCatchret"  ,
"Insert symbols at valid catchret targets for /guard:ehcont"  ,
false  ,

Definition at line 56 of file EHContGuardCatchret.cpp.


STATISTIC ( EHContGuardCatchretTargets  ,
"Number of EHCont Guard catchret targets