Lines Matching defs:SectionChunk
35 SectionChunk::SectionChunk(ObjFile *f, const coff_section *h, Kind k)
64 // SectionChunk is one of the most frequently allocated classes, so it is
67 static_assert(sizeof(SectionChunk) <= 88, "SectionChunk grew unexpectedly");
78 static bool checkSecRel(const SectionChunk *sec, OutputSection *os) {
87 static void applySecRel(const SectionChunk *sec, uint8_t *off,
114 void SectionChunk::applyRelX64(uint8_t *off, uint16_t type, OutputSection *os,
141 void SectionChunk::applyRelX86(uint8_t *off, uint16_t type, OutputSection *os,
209 void SectionChunk::applyRelARM(uint8_t *off, uint16_t type, OutputSection *os,
283 static void applySecRelLow12A(const SectionChunk *sec, uint8_t *off,
289 static void applySecRelHigh12A(const SectionChunk *sec, uint8_t *off,
302 static void applySecRelLdr(const SectionChunk *sec, uint8_t *off,
326 void SectionChunk::applyRelARM64(uint8_t *off, uint16_t type, OutputSection *os,
358 static void maybeReportRelocationToDiscarded(const SectionChunk *fromChunk,
393 void SectionChunk::writeTo(uint8_t *buf) const {
423 void SectionChunk::applyRelocation(uint8_t *off,
468 void SectionChunk::sortRelocations() {
484 void SectionChunk::writeAndRelocateSubsection(ArrayRef<uint8_t> sec,
507 void SectionChunk::addAssociative(SectionChunk *child) {
512 SectionChunk *prev = this;
513 SectionChunk *next = assocChildren;
557 void SectionChunk::getBaserels(std::vector<Baserel> *res) {
668 void SectionChunk::getRuntimePseudoRelocs(
703 bool SectionChunk::isCOMDAT() const {
707 void SectionChunk::printDiscardedMessage() const {
714 StringRef SectionChunk::getDebugName() const {
720 ArrayRef<uint8_t> SectionChunk::getContents() const {
726 ArrayRef<uint8_t> SectionChunk::consumeDebugMagic() {
731 ArrayRef<uint8_t> SectionChunk::consumeDebugMagic(ArrayRef<uint8_t> data,
755 SectionChunk *SectionChunk::findByName(ArrayRef<SectionChunk *> sections,
757 for (SectionChunk *c : sections)
763 void SectionChunk::replace(SectionChunk *other) {
769 uint32_t SectionChunk::getSectionNumber() const {
1032 void MergeChunk::addSection(COFFLinkerContext &ctx, SectionChunk *c) {
1044 for (SectionChunk *c : sections)
1052 for (SectionChunk *c : sections) {