[#llvm-runOnNewStack-0d] = xref:llvm.adoc[llvm]::runOnNewStack :relfileprefix: ../ :mrdocs: `runOnNewStack` overloads == Synopses Declared in `<llvm/Support/ProgramStack.h>` Runs Fn on a new stack of at least the given size. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void xref:llvm/runOnNewStack-07.adoc[runOnNewStack]( unsigned int StackSize, xref:llvm/function_ref-03.adoc[function_ref<void()>] Fn); ---- [.small]#xref:llvm/runOnNewStack-07.adoc[_» more..._]# Runs Fn with the given arguments on a new stack of at least the given size. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< typename R, typename... Ts> auto xref:llvm/runOnNewStack-02.adoc[runOnNewStack]( unsigned int StackSize, xref:llvm/function_ref-03.adoc[function_ref<R(Ts...)>] Fn, Ts&&... Args); ---- [.small]#xref:llvm/runOnNewStack-02.adoc[_» more..._]# == Return Value the value returned by `Fn,` if any. == 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. | *Args* | arguments forwarded to `Fn.` |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#