clang  15.0.0git
Namespaces | Functions | Variables
Stack.h File Reference
#include <cstddef>
#include "llvm/ADT/STLExtras.h"
#include "llvm/Support/Compiler.h"
Include dependency graph for Stack.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.




void clang::noteBottomOfStack ()
 Call this once on each thread, as soon after starting the thread as feasible, to note the approximate address of the bottom of the stack. More...
bool clang::isStackNearlyExhausted ()
 Determine whether the stack is nearly exhausted. More...
void clang::runWithSufficientStackSpaceSlow (llvm::function_ref< void()> Diag, llvm::function_ref< void()> Fn)
void clang::runWithSufficientStackSpace (llvm::function_ref< void()> Diag, llvm::function_ref< void()> Fn)
 Run a given function on a stack with "sufficient" space. More...


constexpr size_t clang::DesiredStackSize = 8 << 20
 The amount of stack space that Clang would like to be provided with. More...

Detailed Description

Defines utilities for dealing with stack allocation and stack space.

Definition in file Stack.h.