|
clang 22.0.0git
|
Defines utilities for dealing with stack allocation and stack space. More...
#include <cstddef>#include "llvm/ADT/STLExtras.h"#include "llvm/Support/Compiler.h"Go to the source code of this file.
Namespaces | |
| namespace | clang |
| The JSON file list parser is used to communicate input to InstallAPI. | |
Functions | |
| void | clang::noteBottomOfStack (bool ForceSet=false) |
| 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. | |
| bool | clang::isStackNearlyExhausted () |
| Determine whether the stack is nearly exhausted. | |
| 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. | |
Variables | |
| constexpr size_t | clang::DesiredStackSize = 8 << 20 |
| The amount of stack space that Clang would like to be provided with. | |
Defines utilities for dealing with stack allocation and stack space.
Definition in file Stack.h.