clang  14.0.0git
Functions | Variables
Stack.cpp File Reference
#include "clang/Basic/Stack.h"
#include "llvm/ADT/Optional.h"
#include "llvm/Support/CrashRecoveryContext.h"
Include dependency graph for Stack.cpp:

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 24 of file Stack.cpp.

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

Variable Documentation

◆ BottomOfStack

LLVM_THREAD_LOCAL void* BottomOfStack = nullptr
static

Definition at line 22 of file Stack.cpp.

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