[#llvm-MCContext-allocate] = xref:llvm.adoc[llvm]::xref:llvm/MCContext.adoc[MCContext]::allocate :relfileprefix: ../../ :mrdocs: Allocate `Size` bytes from the context bump allocator. == Synopsis Declared in `<llvm/MC/MCContext.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void* allocate( unsigned int Size, unsigned int Align = 8); ---- == Return Value A pointer to the allocated memory. == Parameters [cols="1,4"] |=== | Name| Description | *Size* | Number of bytes to allocate. | *Align* | Required alignment in bytes. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#