[#llvm-MCContext-getXCOFFSection] = xref:llvm.adoc[llvm]::xref:llvm/MCContext.adoc[MCContext]::getXCOFFSection :relfileprefix: ../../ :mrdocs: Get or create an XCOFF section with optional csect or dwarf subtype properties. == Synopsis Declared in `<llvm/MC/MCContext.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:llvm/MCSectionXCOFF.adoc[MCSectionXCOFF]* getXCOFFSection( xref:llvm/StringRef.adoc[StringRef] Section, xref:llvm/SectionKind.adoc[SectionKind] K, std::optional<XCOFF::CsectProperties> CsectProp = std::nullopt, bool MultiSymbolsAllowed = false, std::optional<XCOFF::DwarfSectionSubtypeFlags> DwarfSubtypeFlags = std::nullopt); ---- == Return Value The XCOFF section for the given attributes. == Parameters [cols="1,4"] |=== | Name| Description | *Section* | Section name. | *K* | Section kind classifying the section contents. | *CsectProp* | Optional csect properties. | *MultiSymbolsAllowed* | Whether multiple symbols may share the section. | *DwarfSubtypeFlags* | Optional DWARF section subtype flags. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#