LLVM: lib/CodeGen/SafeStack.cpp File Reference (original) (raw)

Go to the source code of this file.

Namespaces
namespace llvm
This is an optimization pass for GlobalISel generic memory operations.
Functions
Variables
static cl::opt< bool > SafeStackUsePointerAddress ("safestack-use-pointer-address", cl::init(false), cl::Hidden)
Use __safestack_pointer_address even if the platform has a faster way of access safe stack pointer.
static cl::opt< bool > ClColoring ("safe-stack-coloring", cl::desc("enable safe stack coloring"), cl::Hidden, cl::init(true))
DEBUG_TYPE
Safe Stack instrumentation pass
Safe Stack instrumentation false

DEBUG_TYPE

#define DEBUG_TYPE "safe-stack"

INITIALIZE_PASS_BEGIN()

ClColoring

cl::opt< bool > ClColoring("safe-stack-coloring", cl::desc("enable safe stack coloring"), cl::Hidden, cl::init(true)) ( "safe-stack-coloring" , cl::desc("enable safe stack coloring") , cl::Hidden , cl::init(true) ) static

DEBUG_TYPE

false

pass

SafeStackUsePointerAddress

cl::opt< bool > SafeStackUsePointerAddress("safestack-use-pointer-address", cl::init(false), cl::Hidden) ( "safestack-use-pointer-address" , cl::init(false) , cl::Hidden ) static

Use __safestack_pointer_address even if the platform has a faster way of access safe stack pointer.