LLVM API Documentation
#include <ELF.h>
Public Types | |
| enum | { SHF_WRITE = 1 << 0, SHF_ALLOC = 1 << 1, SHF_EXECINSTR = 1 << 2, SHF_MERGE = 1 << 4, SHF_STRINGS = 1 << 5, SHF_INFO_LINK = 1 << 6, SHF_LINK_ORDER = 1 << 7, SHF_OS_NONCONFORMING = 1 << 8, SHF_GROUP = 1 << 9, SHF_TLS = 1 << 10 } |
| enum | { SHT_NULL = 0, SHT_PROGBITS = 1, SHT_SYMTAB = 2, SHT_STRTAB = 3, SHT_RELA = 4, SHT_HASH = 5, SHT_DYNAMIC = 6, SHT_NOTE = 7, SHT_NOBITS = 8, SHT_REL = 9, SHT_SHLIB = 10, SHT_DYNSYM = 11, SHT_LOPROC = 0x70000000, SHT_HIPROC = 0x7fffffff, SHT_LOUSER = 0x80000000, SHT_HIUSER = 0xffffffff } |
| enum | { SHN_UNDEF = 0, SHN_LORESERVE = 0xff00, SHN_LOPROC = 0xff00, SHN_HIPROC = 0xff1f, SHN_ABS = 0xfff1, SHN_COMMON = 0xfff2, SHN_HIRESERVE = 0xffff } |
Public Member Functions | |
| unsigned | getSymbolTableIndex () const |
| ELFSection (const std::string &name, bool isLittleEndian, bool is64Bit) | |
Public Attributes | |
| unsigned | NameIdx |
| unsigned | Type |
| unsigned | Flags |
| uint64_t | Addr |
| unsigned | Offset |
| unsigned | Size |
| unsigned | Link |
| unsigned | Info |
| unsigned | Align |
| unsigned | EntSize |
| unsigned short | SectionIdx |
| SectionIdx - The number of the section in the Section Table. | |
| ELFSym * | Sym |
| Sym - The symbol to represent this section if it has one. | |
Definition at line 211 of file lib/CodeGen/ELF.h.
| anonymous enum |
| SHF_WRITE | |
| SHF_ALLOC | |
| SHF_EXECINSTR | |
| SHF_MERGE | |
| SHF_STRINGS | |
| SHF_INFO_LINK | |
| SHF_LINK_ORDER | |
| SHF_OS_NONCONFORMING | |
| SHF_GROUP | |
| SHF_TLS |
Definition at line 226 of file lib/CodeGen/ELF.h.
| anonymous enum |
| SHT_NULL | |
| SHT_PROGBITS | |
| SHT_SYMTAB | |
| SHT_STRTAB | |
| SHT_RELA | |
| SHT_HASH | |
| SHT_DYNAMIC | |
| SHT_NOTE | |
| SHT_NOBITS | |
| SHT_REL | |
| SHT_SHLIB | |
| SHT_DYNSYM | |
| SHT_LOPROC | |
| SHT_HIPROC | |
| SHT_LOUSER | |
| SHT_HIUSER |
Definition at line 240 of file lib/CodeGen/ELF.h.
| anonymous enum |
Definition at line 260 of file lib/CodeGen/ELF.h.
| llvm::ELFSection::ELFSection | ( | const std::string & | name, | |
| bool | isLittleEndian, | |||
| bool | is64Bit | |||
| ) | [inline] |
Definition at line 283 of file lib/CodeGen/ELF.h.
| unsigned llvm::ELFSection::getSymbolTableIndex | ( | ) | const [inline] |
getSymIndex - Returns the symbol table index of the symbol representing this section.
Definition at line 278 of file lib/CodeGen/ELF.h.
References Sym, and llvm::ELFSym::SymTabIdx.
Definition at line 214 of file lib/CodeGen/ELF.h.
Definition at line 215 of file lib/CodeGen/ELF.h.
Definition at line 216 of file lib/CodeGen/ELF.h.
| uint64_t llvm::ELFSection::Addr |
Definition at line 217 of file lib/CodeGen/ELF.h.
Definition at line 218 of file lib/CodeGen/ELF.h.
Definition at line 219 of file lib/CodeGen/ELF.h.
Definition at line 220 of file lib/CodeGen/ELF.h.
Definition at line 221 of file lib/CodeGen/ELF.h.
Definition at line 222 of file lib/CodeGen/ELF.h.
Definition at line 223 of file lib/CodeGen/ELF.h.
SectionIdx - The number of the section in the Section Table.
Definition at line 271 of file lib/CodeGen/ELF.h.
Referenced by llvm::ELFWriter::doFinalization(), llvm::ELFCodeEmitter::emitConstantPool(), and llvm::ELFCodeEmitter::finishFunction().
Sym - The symbol to represent this section if it has one.
Definition at line 274 of file lib/CodeGen/ELF.h.
Referenced by llvm::ELFWriter::doFinalization(), and getSymbolTableIndex().