enum SectionKind::Kind

Declared at: llvm/include/llvm/MC/SectionKind.h:23

Enumerators

NameValueComment
Metadata0Metadata - Debug info sections or other metadata.
Text1Text - Text section, used for functions and other executable code.
ExecuteOnly2ExecuteOnly, Text section that is not readable.
ReadOnly3ReadOnly - Data that is never written to at program runtime by the program or the dynamic linker. Things in the top-level readonly SectionKind are not mergeable.
Mergeable1ByteCString4Mergeable1ByteCString - 1 byte mergable, null terminated, string.
Mergeable2ByteCString5Mergeable2ByteCString - 2 byte mergable, null terminated, string.
Mergeable4ByteCString6Mergeable4ByteCString - 4 byte mergable, null terminated, string.
MergeableConst47MergeableConst4 - This is a section used by 4-byte constants, for example, floats.
MergeableConst88MergeableConst8 - This is a section used by 8-byte constants, for example, doubles.
MergeableConst169MergeableConst16 - This is a section used by 16-byte constants, for example, vectors.
MergeableConst3210MergeableConst32 - This is a section used by 32-byte constants, for example, vectors.
ThreadBSS11ThreadBSS - Zero-initialized TLS data objects.
ThreadData12ThreadData - Initialized TLS data objects.
BSS13BSS - Zero initialized writeable data.
BSSLocal14BSSLocal - This is BSS (zero initialized and writable) data which has local linkage.
BSSExtern15BSSExtern - This is BSS data with normal external linkage.
Common16Common - Data with common linkage. These represent tentative definitions, which always have a zero initializer and are never marked 'constant'.
Data17This is writeable data that has a non-zero initializer.
ReadOnlyWithRel18ReadOnlyWithRel - These are global variables that are never written to by the program, but that have relocations, so they must be stuck in a writeable section so that the dynamic linker can write to them. If it chooses to, the dynamic linker can mark the pages these globals end up on as read-only after it is done with its relocation phase.