1 //===--- Stack.h - Utilities for dealing with stack space -------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
11 /// Defines utilities for dealing with stack allocation and stack space.
13 //===----------------------------------------------------------------------===//
15 #ifndef LLVM_CLANG_BASIC_STACK_H
16 #define LLVM_CLANG_BASIC_STACK_H
21 /// The amount of stack space that Clang would like to be provided with.
22 /// If less than this much is available, we may be unable to reach our
23 /// template instantiation depth limit and other similar limits.
24 constexpr size_t DesiredStackSize = 8 << 20;
25 } // end namespace clang
27 #endif // LLVM_CLANG_BASIC_STACK_H