LLVM API Documentation
Classes | |
struct | header |
struct | symbol |
struct | section |
struct | relocation |
struct | AuxiliaryFunctionDefinition |
struct | AuxiliarybfAndefSymbol |
struct | AuxiliaryWeakExternal |
struct | AuxiliaryFile |
struct | AuxiliarySectionDefinition |
union | Auxiliary |
struct | ImportDirectoryTableEntry |
The Import Directory Table. More... | |
struct | ImportLookupTableEntry32 |
The PE32 Import Lookup Table. More... | |
struct | DOSHeader |
The DOS compatible header at the front of all PEs. More... | |
struct | PEHeader |
struct | DataDirectory |
struct | ImportHeader |
Functions | |
Characteristics | operator| (Characteristics a, Characteristics b) |
SectionCharacteristics | operator| (SectionCharacteristics a, SectionCharacteristics b) |
enum SectionCharacteristics | LLVM_ENUM_INT_TYPE (uint32_t) |
Variables | |
static const char | PEMagic [] = { 'P', 'E', '\0', '\0' } |
anonymous enum |
Enumerator | |
---|---|
HeaderSize | |
NameSize | |
SymbolSize | |
SectionSize | |
RelocationSize |
Definition at line 37 of file Support/COFF.h.
Definition at line 560 of file Support/COFF.h.
Enumerator | |
---|---|
C_Invalid | |
IMAGE_FILE_RELOCS_STRIPPED |
The file does not contain base relocations and must be loaded at its preferred base. If this cannot be done, the loader will error. |
IMAGE_FILE_EXECUTABLE_IMAGE |
The file is valid and can be run. |
IMAGE_FILE_LINE_NUMS_STRIPPED |
COFF line numbers have been stripped. This is deprecated and should be 0. |
IMAGE_FILE_LOCAL_SYMS_STRIPPED |
COFF symbol table entries for local symbols have been removed. This is deprecated and should be 0. |
IMAGE_FILE_AGGRESSIVE_WS_TRIM |
Aggressively trim working set. This is deprecated and must be 0. |
IMAGE_FILE_LARGE_ADDRESS_AWARE |
Image can handle > 2GiB addresses. |
IMAGE_FILE_BYTES_REVERSED_LO |
Little endian: the LSB precedes the MSB in memory. This is deprecated and should be 0. |
IMAGE_FILE_32BIT_MACHINE |
Machine is based on a 32bit word architecture. |
IMAGE_FILE_DEBUG_STRIPPED |
Debugging info has been removed. |
IMAGE_FILE_REMOVABLE_RUN_FROM_SWAP |
If the image is on removable media, fully load it and copy it to swap. |
IMAGE_FILE_NET_RUN_FROM_SWAP |
If the image is on network media, fully load it and copy it to swap. |
IMAGE_FILE_SYSTEM |
The image file is a system file, not a user program. |
IMAGE_FILE_DLL |
The image file is a DLL. |
IMAGE_FILE_UP_SYSTEM_ONLY |
This file should only be run on a uniprocessor machine. |
IMAGE_FILE_BYTES_REVERSED_HI |
Big endian: the MSB precedes the LSB in memory. This is deprecated and should be 0. |
Definition at line 81 of file Support/COFF.h.
Definition at line 321 of file Support/COFF.h.
Definition at line 491 of file Support/COFF.h.
Definition at line 546 of file Support/COFF.h.
Definition at line 528 of file Support/COFF.h.
Definition at line 579 of file Support/COFF.h.
Enumerator | |
---|---|
IMPORT_CODE | |
IMPORT_DATA | |
IMPORT_CONST |
Definition at line 573 of file Support/COFF.h.
Definition at line 55 of file Support/COFF.h.
Definition at line 303 of file Support/COFF.h.
Definition at line 271 of file Support/COFF.h.
Definition at line 183 of file Support/COFF.h.
Enumerator | |
---|---|
IMAGE_SYM_DTYPE_NULL |
No complex type; simple scalar variable. |
IMAGE_SYM_DTYPE_POINTER |
A pointer to base type. |
IMAGE_SYM_DTYPE_FUNCTION |
A function that returns a base type. |
IMAGE_SYM_DTYPE_ARRAY |
An array of base type. |
SCT_COMPLEX_TYPE_SHIFT |
Type is formed as (base + (derived << SCT_COMPLEX_TYPE_SHIFT)) |
Definition at line 202 of file Support/COFF.h.
Enumerator | |
---|---|
SF_TypeMask | |
SF_TypeShift | |
SF_ClassMask | |
SF_ClassShift | |
SF_WeakExternal |
Definition at line 130 of file Support/COFF.h.
Enumerator | |
---|---|
IMAGE_SYM_DEBUG | |
IMAGE_SYM_ABSOLUTE | |
IMAGE_SYM_UNDEFINED |
Definition at line 140 of file Support/COFF.h.
Storage class tells where and what the symbol represents.
Enumerator | |
---|---|
SSC_Invalid | |
IMAGE_SYM_CLASS_END_OF_FUNCTION |
Physical end of function. |
IMAGE_SYM_CLASS_NULL |
No symbol. |
IMAGE_SYM_CLASS_AUTOMATIC |
Stack variable. |
IMAGE_SYM_CLASS_EXTERNAL |
External symbol. |
IMAGE_SYM_CLASS_STATIC |
Static. |
IMAGE_SYM_CLASS_REGISTER |
Register variable. |
IMAGE_SYM_CLASS_EXTERNAL_DEF |
External definition. |
IMAGE_SYM_CLASS_LABEL |
Label. |
IMAGE_SYM_CLASS_UNDEFINED_LABEL |
Undefined label. |
IMAGE_SYM_CLASS_MEMBER_OF_STRUCT |
Member of structure. |
IMAGE_SYM_CLASS_ARGUMENT |
Function argument. |
IMAGE_SYM_CLASS_STRUCT_TAG |
Structure tag. |
IMAGE_SYM_CLASS_MEMBER_OF_UNION |
Member of union. |
IMAGE_SYM_CLASS_UNION_TAG |
Union tag. |
IMAGE_SYM_CLASS_TYPE_DEFINITION |
Type definition. |
IMAGE_SYM_CLASS_UNDEFINED_STATIC |
Undefined static. |
IMAGE_SYM_CLASS_ENUM_TAG |
Enumeration tag. |
IMAGE_SYM_CLASS_MEMBER_OF_ENUM |
Member of enumeration. |
IMAGE_SYM_CLASS_REGISTER_PARAM |
Register parameter. |
IMAGE_SYM_CLASS_BIT_FIELD |
Bit field |
IMAGE_SYM_CLASS_BLOCK |
".bb" or ".eb" - beginning or end of block |
IMAGE_SYM_CLASS_FUNCTION |
".bf" or ".ef" - beginning or end of function |
IMAGE_SYM_CLASS_END_OF_STRUCT |
End of structure. |
IMAGE_SYM_CLASS_FILE |
File name |
IMAGE_SYM_CLASS_SECTION |
Line number, reformatted as symbol. |
IMAGE_SYM_CLASS_WEAK_EXTERNAL |
Duplicate tag |
IMAGE_SYM_CLASS_CLR_TOKEN |
External symbol in dmert public lib. |
Definition at line 147 of file Support/COFF.h.
These are not documented in the spec, but are located in WinNT.h.
Enumerator | |
---|---|
IMAGE_WEAK_EXTERN_SEARCH_NOLIBRARY | |
IMAGE_WEAK_EXTERN_SEARCH_LIBRARY | |
IMAGE_WEAK_EXTERN_SEARCH_ALIAS |
Definition at line 355 of file Support/COFF.h.
Definition at line 509 of file Support/COFF.h.
enum SectionCharacteristics llvm::COFF::LLVM_ENUM_INT_TYPE | ( | uint32_t | ) |
Definition at line 225 of file Support/COFF.h.
|
inline |
Definition at line 23 of file COFFYAML.h.
References llvm::AArch64ISD::Ret.
|
inline |
Definition at line 28 of file COFFYAML.h.
References llvm::AArch64ISD::Ret.
|
static |
Definition at line 34 of file Support/COFF.h.