LLVM 20.0.0git
|
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. More...
#include "llvm/ADT/Statistic.h"
#include "llvm/CodeGen/MachineBasicBlock.h"
#include "llvm/CodeGen/MachineFunctionPass.h"
#include "llvm/CodeGen/MachineModuleInfo.h"
#include "llvm/CodeGen/Passes.h"
#include "llvm/IR/Module.h"
#include "llvm/InitializePasses.h"
Go to the source code of this file.
Macros | |
#define | DEBUG_TYPE "ehcontguard-catchret" |
Functions | |
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 | |
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.
#define DEBUG_TYPE "ehcontguard-catchret" |
Definition at line 27 of file EHContGuardCatchret.cpp.
INITIALIZE_PASS | ( | EHContGuardCatchret | , |
"EHContGuardCatchret" | , | ||
"Insert symbols at valid catchret targets for /guard:ehcont" | , | ||
false | , | ||
false | |||
) |
Definition at line 55 of file EHContGuardCatchret.cpp.
STATISTIC | ( | EHContGuardCatchretTargets | , |
"Number of EHCont Guard catchret targets" | |||
) |