LLVM 22.0.0git
AArch64SpeculationHardening.cpp File Reference

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "aarch64-speculation-hardening"
#define AARCH64_SPECULATION_HARDENING_NAME   "AArch64 speculation hardening pass"

Functions

 INITIALIZE_PASS (AArch64SpeculationHardening, "aarch64-speculation-hardening", AARCH64_SPECULATION_HARDENING_NAME, false, false) bool AArch64SpeculationHardening

Variables

static cl::opt< boolHardenLoads ("aarch64-slh-loads", cl::Hidden, cl::desc("Sanitize loads from memory."), cl::init(true))

Macro Definition Documentation

◆ AARCH64_SPECULATION_HARDENING_NAME

#define AARCH64_SPECULATION_HARDENING_NAME   "AArch64 speculation hardening pass"

Definition at line 114 of file AArch64SpeculationHardening.cpp.

Referenced by INITIALIZE_PASS().

◆ DEBUG_TYPE

#define DEBUG_TYPE   "aarch64-speculation-hardening"

Definition at line 112 of file AArch64SpeculationHardening.cpp.

Function Documentation

◆ INITIALIZE_PASS()

INITIALIZE_PASS ( AArch64SpeculationHardening ,
"aarch64-speculation-hardening" ,
AARCH64_SPECULATION_HARDENING_NAME ,
false ,
false  )

Variable Documentation

◆ HardenLoads

cl::opt< bool > HardenLoads("aarch64-slh-loads", cl::Hidden, cl::desc("Sanitize loads from memory."), cl::init(true)) ( "aarch64-slh-loads" ,
cl::Hidden ,
cl::desc("Sanitize loads from memory.") ,
cl::init(true)  )
static