[#llvm-TargetLoweringObjectFileELF-getSectionForConstantImpl] = xref:llvm.adoc[llvm]::xref:llvm/TargetLoweringObjectFileELF.adoc[TargetLoweringObjectFileELF]::getSectionForConstantImpl :relfileprefix: ../../ :mrdocs: Select an ELF section for a constant, optionally appending a suffix. == Synopsis Declared in `<llvm/CodeGen/TargetLoweringObjectFileImpl.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:llvm/MCSection.adoc[MCSection]* getSectionForConstantImpl( xref:llvm/DataLayout.adoc[DataLayout] const& DL, xref:llvm/SectionKind.adoc[SectionKind] Kind, xref:llvm/Constant.adoc[Constant] const* C, xref:llvm/StringRef.adoc[StringRef] SectionSuffix) const; ---- == Return Value The ELF section selected for the constant. == Parameters [cols="1,4"] |=== | Name| Description | *DL* | Data layout of the module. | *Kind* | Section kind classifying the constant. | *C* | Constant to place; may be null. | *SectionSuffix* | Optional suffix appended to the section name. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#