[#llvm-MemoryBuffer-getBufferKind] = xref:llvm.adoc[llvm]::xref:llvm/MemoryBuffer.adoc[MemoryBuffer]::getBufferKind :relfileprefix: ../../ :mrdocs: Return information on the memory mechanism used to support the MemoryBuffer. == Synopsis Declared in `<llvm/Support/MemoryBuffer.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- virtual xref:llvm/MemoryBuffer/BufferKind.adoc[BufferKind] getBufferKind() const = 0; ---- == Return Value Whether the buffer is malloc‐backed or memory‐mapped. [.small]#Created with https://www.mrdocs.com[MrDocs]#