Please use GitHub pull requests for new patches. Phabricator shutdown timeline
Changeset View
Changeset View
Standalone View
Standalone View
lld/ELF/SyntheticSections.h
Show First 20 Lines • Show All 1,227 Lines • ▼ Show 20 Lines | |||||
template <typename ELFT> void writeEhdr(uint8_t *buf, Partition &part); | template <typename ELFT> void writeEhdr(uint8_t *buf, Partition &part); | ||||
template <typename ELFT> void writePhdrs(uint8_t *buf, Partition &part); | template <typename ELFT> void writePhdrs(uint8_t *buf, Partition &part); | ||||
Defined *addSyntheticLocal(StringRef name, uint8_t type, uint64_t value, | Defined *addSyntheticLocal(StringRef name, uint8_t type, uint64_t value, | ||||
uint64_t size, InputSectionBase §ion); | uint64_t size, InputSectionBase §ion); | ||||
void addVerneed(Symbol *ss); | void addVerneed(Symbol *ss); | ||||
template <class ELFT, class RelTy> | |||||
Defined *isFdeLive(EhSectionPiece &fde, ArrayRef<RelTy> rels); | |||||
// Linker generated per-partition sections. | // Linker generated per-partition sections. | ||||
struct Partition { | struct Partition { | ||||
StringRef name; | StringRef name; | ||||
uint64_t nameStrTab; | uint64_t nameStrTab; | ||||
std::unique_ptr<SyntheticSection> elfHeader; | std::unique_ptr<SyntheticSection> elfHeader; | ||||
std::unique_ptr<SyntheticSection> programHeaders; | std::unique_ptr<SyntheticSection> programHeaders; | ||||
SmallVector<PhdrEntry *, 0> phdrs; | SmallVector<PhdrEntry *, 0> phdrs; | ||||
▲ Show 20 Lines • Show All 65 Lines • Show Last 20 Lines |