LLVM  16.0.0git
Macros | Typedefs | Functions
CFGuard.cpp File Reference
#include "llvm/Transforms/CFGuard.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/ADT/Triple.h"
#include "llvm/IR/CallingConv.h"
#include "llvm/IR/IRBuilder.h"
#include "llvm/IR/Instruction.h"
#include "llvm/InitializePasses.h"
#include "llvm/Pass.h"
Include dependency graph for CFGuard.cpp:

Go to the source code of this file.


#define DEBUG_TYPE   "cfguard"


using OperandBundleDef = OperandBundleDefT< Value * >


 STATISTIC (CFGuardCounter, "Number of Control Flow Guard checks added")

Detailed Description

This file contains the IR transform to add Microsoft's Control Flow Guard checks on Windows targets.

Definition in file CFGuard.cpp.

Macro Definition Documentation


#define DEBUG_TYPE   "cfguard"

Definition at line 29 of file CFGuard.cpp.

Typedef Documentation

◆ OperandBundleDef

Definition at line 27 of file CFGuard.cpp.

Function Documentation


STATISTIC ( CFGuardCounter  ,
"Number of Control Flow Guard checks added"