LLVM  3.7.0
Namespaces | Macros | Functions | Variables
SafeStack.cpp File Reference
#include "llvm/Transforms/Instrumentation.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/ADT/Triple.h"
#include "llvm/Analysis/AliasAnalysis.h"
#include "llvm/Analysis/TargetTransformInfo.h"
#include "llvm/IR/Constants.h"
#include "llvm/IR/DataLayout.h"
#include "llvm/IR/DerivedTypes.h"
#include "llvm/IR/DIBuilder.h"
#include "llvm/IR/Function.h"
#include "llvm/IR/InstIterator.h"
#include "llvm/IR/Instructions.h"
#include "llvm/IR/IntrinsicInst.h"
#include "llvm/IR/Intrinsics.h"
#include "llvm/IR/IRBuilder.h"
#include "llvm/IR/Module.h"
#include "llvm/Pass.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/Format.h"
#include "llvm/Support/MathExtras.h"
#include "llvm/Support/raw_os_ostream.h"
#include "llvm/Transforms/Utils/Local.h"
#include "llvm/Transforms/Utils/ModuleUtils.h"
Include dependency graph for SafeStack.cpp:

Go to the source code of this file.

Namespaces

 llvm
 Compute iterated dominance frontiers using a linear time algorithm.
 

Macros

#define DEBUG_TYPE   "safestack"
 

Functions

 llvm::STATISTIC (NumFunctions,"Total number of functions")
 
 llvm::STATISTIC (NumUnsafeStackFunctions,"Number of functions with unsafe stack")
 
 llvm::STATISTIC (NumUnsafeStackRestorePointsFunctions,"Number of functions that use setjmp or exceptions")
 
 llvm::STATISTIC (NumAllocas,"Total number of allocas")
 
 llvm::STATISTIC (NumUnsafeStaticAllocas,"Number of unsafe static allocas")
 
 llvm::STATISTIC (NumUnsafeDynamicAllocas,"Number of unsafe dynamic allocas")
 
 llvm::STATISTIC (NumUnsafeStackRestorePoints,"Number of setjmps and landingpads")
 
 INITIALIZE_PASS_BEGIN (SafeStack,"safe-stack","Safe Stack instrumentation pass", false, false) INITIALIZE_PASS_END(SafeStack
 

Variables

safe stack
 
safe Safe Stack instrumentation pass
 
safe Safe Stack instrumentation false
 

Macro Definition Documentation

#define DEBUG_TYPE   "safestack"

Definition at line 45 of file SafeStack.cpp.

Function Documentation

INITIALIZE_PASS_BEGIN ( SafeStack  ,
"safe-stack ,
"Safe Stack instrumentation pass ,
false  ,
false   
)

Variable Documentation

safe Safe Stack instrumentation false

Definition at line 606 of file SafeStack.cpp.

safe Safe Stack instrumentation pass

Definition at line 606 of file SafeStack.cpp.

safe stack

Definition at line 606 of file SafeStack.cpp.