LLVM 20.0.0git
Macros | Functions
KCFI.cpp File Reference
#include "llvm/ADT/Statistic.h"
#include "llvm/CodeGen/MachineFunctionPass.h"
#include "llvm/CodeGen/MachineInstrBuilder.h"
#include "llvm/CodeGen/MachineInstrBundle.h"
#include "llvm/CodeGen/MachineModuleInfo.h"
#include "llvm/CodeGen/TargetInstrInfo.h"
#include "llvm/CodeGen/TargetLowering.h"
#include "llvm/CodeGen/TargetSubtargetInfo.h"
#include "llvm/IR/Module.h"
#include "llvm/InitializePasses.h"

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "kcfi"
 
#define KCFI_PASS_NAME   "Insert KCFI indirect call checks"
 

Functions

 STATISTIC (NumKCFIChecksAdded, "Number of indirect call checks added")
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "kcfi"

Definition at line 29 of file KCFI.cpp.

◆ KCFI_PASS_NAME

#define KCFI_PASS_NAME   "Insert KCFI indirect call checks"

Definition at line 30 of file KCFI.cpp.

Function Documentation

◆ STATISTIC()

STATISTIC ( NumKCFIChecksAdded  ,
"Number of indirect call checks added"   
)