[#llvm-GlobalValue-hasSection] = xref:llvm.adoc[llvm]::xref:llvm/GlobalValue.adoc[GlobalValue]::hasSection :relfileprefix: ../../ :mrdocs: Return true if this global has a non‐empty section name. == Synopsis Declared in `<llvm/IR/GlobalValue.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool hasSection() const; ---- == Return Value True if this global has a non‐empty section name. [.small]#Created with https://www.mrdocs.com[MrDocs]#