builtinalloca
builtinalloca refers to the compiler builtin for allocating memory on the current stack frame, most commonly accessed in C as __builtin_alloca. It is a non-standard extension provided by several compilers, notably GCC and Clang, and is distinct from the standard heap allocation facilities.
Semantics and lifetime: memory allocated by a builtin alloca resides on the program’s stack. The returned pointer
Usage and implementation notes: code can obtain memory via __builtin_alloca(size) or via the alloca function where
Portability and cautions: builtinalloca is not part of the C standard, and behavior can vary across platforms