LLVM 22.0.0git
ASanStackFrameLayout.cpp File Reference

Go to the source code of this file.

Namespaces

namespace  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)
LLVM_ABI ASanStackFrameLayout llvm::ComputeASanStackFrameLayout (SmallVectorImpl< ASanStackVariableDescription > &Vars, uint64_t Granularity, uint64_t MinHeaderSize)
LLVM_ABI SmallString< 64 > llvm::ComputeASanStackFrameDescription (const SmallVectorImpl< ASanStackVariableDescription > &Vars)
LLVM_ABI SmallVector< uint8_t, 64 > llvm::GetShadowBytes (const SmallVectorImpl< ASanStackVariableDescription > &Vars, const ASanStackFrameLayout &Layout)
LLVM_ABI SmallVector< uint8_t, 64 > llvm::GetShadowBytesAfterScope (const SmallVectorImpl< ASanStackVariableDescription > &Vars, const ASanStackFrameLayout &Layout)

Variables

static const uint64_t llvm::kMinAlignment = 16