getSectionForConstant overloads
Declared in <llvm/Target/TargetLoweringObjectFile.h>
Given a constant with the SectionKind, return a section that it should be placed in.
virtual
MCSection*
getSectionForConstant(
DataLayout const& DL,
SectionKind Kind,
Constant const* C,
Align& Alignment,
Function const* F) const;
» more...
Similar to the function above, but append SectionSuffix to the section name.
virtual
MCSection*
getSectionForConstant(
DataLayout const& DL,
SectionKind Kind,
Constant const* C,
Align& Alignment,
Function const* F,
StringRef SectionSuffix) const;
» more...
SectionSuffix appended to its name.| Name | Description |
|---|---|
| DL | Data layout used to size and align the constant. |
| Kind | Section kind classifying the constant. |
| C | Constant being placed, or nullptr when not applicable. |
| Alignment | In/out alignment required for the constant. |
| F | Function owning the constant pool entry, if any. |
| SectionSuffix | Suffix appended to the chosen section name. |