clang 19.0.0git
Functions | Variables
Stack.cpp File Reference

Defines utilities for dealing with stack allocation and stack space. More...

#include "clang/Basic/Stack.h"
#include "llvm/Support/CrashRecoveryContext.h"

Go to the source code of this file.

Functions

static void * getStackPointer ()
 

Variables

static LLVM_THREAD_LOCAL void * BottomOfStack = nullptr
 

Detailed Description

Defines utilities for dealing with stack allocation and stack space.

Definition in file Stack.cpp.

Function Documentation

◆ getStackPointer()

static void * getStackPointer ( )
static

Definition at line 23 of file Stack.cpp.

Referenced by clang::isStackNearlyExhausted(), and clang::noteBottomOfStack().

Variable Documentation

◆ BottomOfStack

LLVM_THREAD_LOCAL void* BottomOfStack = nullptr
static

Definition at line 21 of file Stack.cpp.

Referenced by clang::isStackNearlyExhausted(), and clang::noteBottomOfStack().