LLVM  4.0.0
Macros | Functions | Variables
SafeStackLayout.cpp File Reference
#include "SafeStackLayout.h"
#include "llvm/IR/Instructions.h"
#include "llvm/Support/Debug.h"
Include dependency graph for SafeStackLayout.cpp:

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "safestacklayout"
 

Functions

static unsigned AdjustStackOffset (unsigned Offset, unsigned Size, unsigned Alignment)
 

Variables

static cl::opt< boolClLayout ("safe-stack-layout", cl::desc("enable safe stack layout"), cl::Hidden, cl::init(true))
 

Macro Definition Documentation

#define DEBUG_TYPE   "safestacklayout"

Definition at line 18 of file SafeStackLayout.cpp.

Function Documentation

static unsigned AdjustStackOffset ( unsigned  Offset,
unsigned  Size,
unsigned  Alignment 
)
static

Definition at line 42 of file SafeStackLayout.cpp.

References llvm::alignTo().

Variable Documentation

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