LLVM  14.0.0git
Namespaces | Functions | Variables
ASanStackFrameLayout.cpp File Reference
#include "llvm/Transforms/Utils/ASanStackFrameLayout.h"
#include "llvm/ADT/SmallString.h"
#include "llvm/IR/DebugInfo.h"
#include "llvm/Support/MathExtras.h"
#include "llvm/Support/ScopedPrinter.h"
#include "llvm/Support/raw_ostream.h"
#include <algorithm>
Include dependency graph for ASanStackFrameLayout.cpp:

Go to the source code of this file.

Namespaces

 llvm
 This is an optimization pass for GlobalISel generic memory operations.
 

Functions

static bool llvm::CompareVars (const ASanStackVariableDescription &a, const ASanStackVariableDescription &b)
 
static uint64_t llvm::VarAndRedzoneSize (uint64_t Size, uint64_t Granularity, uint64_t Alignment)
 
ASanStackFrameLayout llvm::ComputeASanStackFrameLayout (SmallVectorImpl< ASanStackVariableDescription > &Vars, uint64_t Granularity, uint64_t MinHeaderSize)
 
SmallString< 64 > llvm::ComputeASanStackFrameDescription (const SmallVectorImpl< ASanStackVariableDescription > &Vars)
 
SmallVector< uint8_t, 64 > llvm::GetShadowBytes (const SmallVectorImpl< ASanStackVariableDescription > &Vars, const ASanStackFrameLayout &Layout)
 
SmallVector< uint8_t, 64 > llvm::GetShadowBytesAfterScope (const SmallVectorImpl< ASanStackVariableDescription > &Vars, const ASanStackFrameLayout &Layout)
 

Variables

static const uint64_t llvm::kMinAlignment = 16