enum SectionType

Description

These are the section type and attributes fields. A MachO section can have only one Type, but can have any of the attributes specified.

Declared at: llvm/include/llvm/BinaryFormat/MachO.h:120

Enumerators

NameValueComment
S_REGULAR0S_REGULAR - Regular section.
S_ZEROFILL1S_ZEROFILL - Zero fill on demand section.
S_CSTRING_LITERALS2S_CSTRING_LITERALS - Section with literal C strings.
S_4BYTE_LITERALS3S_4BYTE_LITERALS - Section with 4 byte literals.
S_8BYTE_LITERALS4S_8BYTE_LITERALS - Section with 8 byte literals.
S_LITERAL_POINTERS5S_LITERAL_POINTERS - Section with pointers to literals.
S_NON_LAZY_SYMBOL_POINTERS6S_NON_LAZY_SYMBOL_POINTERS - Section with non-lazy symbol pointers.
S_LAZY_SYMBOL_POINTERS7S_LAZY_SYMBOL_POINTERS - Section with lazy symbol pointers.
S_SYMBOL_STUBS8S_SYMBOL_STUBS - Section with symbol stubs, byte size of stub in the Reserved2 field.
S_MOD_INIT_FUNC_POINTERS9S_MOD_INIT_FUNC_POINTERS - Section with only function pointers for initialization.
S_MOD_TERM_FUNC_POINTERS10S_MOD_TERM_FUNC_POINTERS - Section with only function pointers for termination.
S_COALESCED11S_COALESCED - Section contains symbols that are to be coalesced.
S_GB_ZEROFILL12S_GB_ZEROFILL - Zero fill on demand section (that can be larger than 4 gigabytes).
S_INTERPOSING13S_INTERPOSING - Section with only pairs of function pointers for interposing.
S_16BYTE_LITERALS14S_16BYTE_LITERALS - Section with only 16 byte literals.
S_DTRACE_DOF15S_DTRACE_DOF - Section contains DTrace Object Format.
S_LAZY_DYLIB_SYMBOL_POINTERS16S_LAZY_DYLIB_SYMBOL_POINTERS - Section with lazy symbol pointers to lazy loaded dylibs.
S_THREAD_LOCAL_REGULAR17S_THREAD_LOCAL_REGULAR - Thread local data section.
S_THREAD_LOCAL_ZEROFILL18S_THREAD_LOCAL_ZEROFILL - Thread local zerofill section.
S_THREAD_LOCAL_VARIABLES19S_THREAD_LOCAL_VARIABLES - Section with thread local variable structure data.
S_THREAD_LOCAL_VARIABLE_POINTERS20S_THREAD_LOCAL_VARIABLE_POINTERS - Section with pointers to thread local structures.
S_THREAD_LOCAL_INIT_FUNCTION_POINTERS21S_THREAD_LOCAL_INIT_FUNCTION_POINTERS - Section with thread local variable initialization pointers to functions.
LAST_KNOWN_SECTION_TYPE21S_THREAD_LOCAL_INIT_FUNCTION_POINTERS - Section with thread local variable initialization pointers to functions.