Please use GitHub pull requests for new patches. Phabricator shutdown timeline
Changeset View
Changeset View
Standalone View
Standalone View
lld/ELF/InputSection.h
Show First 20 Lines • Show All 267 Lines • ▼ Show 20 Lines | public: | ||||
// Write this section to a mmap'ed file, assuming Buf is pointing to | // Write this section to a mmap'ed file, assuming Buf is pointing to | ||||
// beginning of the output section. | // beginning of the output section. | ||||
void writeTo(uint8_t *Buf); | void writeTo(uint8_t *Buf); | ||||
// The offset from beginning of the output sections this section was assigned | // The offset from beginning of the output sections this section was assigned | ||||
// to. The writer sets a value. | // to. The writer sets a value. | ||||
uint64_t OutSecOff = 0; | uint64_t OutSecOff = 0; | ||||
// InputSection that is dependent on us (reverse dependency for GC) | // InputSections that are dependent on us (reverse dependency for GC) | ||||
InputSectionBase<ELFT> *DependentSection = nullptr; | std::vector<InputSectionBase<ELFT> *> DependentSections; | ||||
static bool classof(const InputSectionData *S); | static bool classof(const InputSectionData *S); | ||||
InputSectionBase<ELFT> *getRelocatedSection(); | InputSectionBase<ELFT> *getRelocatedSection(); | ||||
// Register thunk related to the symbol. When the section is written | // Register thunk related to the symbol. When the section is written | ||||
// to a mmap'ed file, target is requested to write an actual thunk code. | // to a mmap'ed file, target is requested to write an actual thunk code. | ||||
// Now thunks is supported for MIPS and ARM target only. | // Now thunks is supported for MIPS and ARM target only. | ||||
Show All 31 Lines |