LLVM 24.0.0git
SafeStackLayout.cpp File Reference
#include "SafeStackLayout.h"
#include "CodeGenOptions.h"
#include "llvm/IR/Value.h"
#include "llvm/Support/Compiler.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/raw_ostream.h"
#include <algorithm>
#include <cassert>

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "safestacklayout"

Functions

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

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "safestacklayout"

Definition at line 21 of file SafeStackLayout.cpp.

Function Documentation

◆ AdjustStackOffset()

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

Definition at line 42 of file SafeStackLayout.cpp.

References llvm::alignTo(), llvm::Offset, and llvm::Size.