[#llvm-runOnNewStack-07] = xref:llvm.adoc[llvm]::runOnNewStack :relfileprefix: ../ :mrdocs: Runs Fn on a new stack of at least the given size. == Synopsis Declared in `<llvm/Support/ProgramStack.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void runOnNewStack( unsigned int StackSize, xref:llvm/function_ref-03.adoc[function_ref<void()>] Fn); ---- == Description The preferred implementation is split stacks on platforms that have a good debugging experience for them. On other platforms a new thread is used. == Parameters [cols="1,4"] |=== | Name| Description | *StackSize* | requested stack size. A size of 0 uses the default stack size of the platform. | *Fn* | callable to run on the new stack. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#