Lines Matching defs:SectionChunk

34 SectionChunk::SectionChunk(ObjFile *f, const coff_section *h, Kind k)
63 // SectionChunk is one of the most frequently allocated classes, so it is
66 static_assert(sizeof(SectionChunk) <= 88, "SectionChunk grew unexpectedly");
77 static bool checkSecRel(const SectionChunk *sec, OutputSection *os) {
86 static void applySecRel(const SectionChunk *sec, uint8_t *off,
113 void SectionChunk::applyRelX64(uint8_t *off, uint16_t type, OutputSection *os,
140 void SectionChunk::applyRelX86(uint8_t *off, uint16_t type, OutputSection *os,
208 void SectionChunk::applyRelARM(uint8_t *off, uint16_t type, OutputSection *os,
282 static void applySecRelLow12A(const SectionChunk *sec, uint8_t *off,
288 static void applySecRelHigh12A(const SectionChunk *sec, uint8_t *off,
301 static void applySecRelLdr(const SectionChunk *sec, uint8_t *off,
325 void SectionChunk::applyRelARM64(uint8_t *off, uint16_t type, OutputSection *os,
357 static void maybeReportRelocationToDiscarded(const SectionChunk *fromChunk,
391 void SectionChunk::writeTo(uint8_t *buf) const {
421 void SectionChunk::applyRelocation(uint8_t *off,
465 void SectionChunk::sortRelocations() {
481 void SectionChunk::writeAndRelocateSubsection(ArrayRef<uint8_t> sec,
504 void SectionChunk::addAssociative(SectionChunk *child) {
509 SectionChunk *prev = this;
510 SectionChunk *next = assocChildren;
554 void SectionChunk::getBaserels(std::vector<Baserel> *res) {
650 void SectionChunk::getRuntimePseudoRelocs(
686 bool SectionChunk::isCOMDAT() const {
690 void SectionChunk::printDiscardedMessage() const {
697 StringRef SectionChunk::getDebugName() const {
703 ArrayRef<uint8_t> SectionChunk::getContents() const {
709 ArrayRef<uint8_t> SectionChunk::consumeDebugMagic() {
714 ArrayRef<uint8_t> SectionChunk::consumeDebugMagic(ArrayRef<uint8_t> data,
738 SectionChunk *SectionChunk::findByName(ArrayRef<SectionChunk *> sections,
740 for (SectionChunk *c : sections)
746 void SectionChunk::replace(SectionChunk *other) {
752 uint32_t SectionChunk::getSectionNumber() const {
1025 void MergeChunk::addSection(COFFLinkerContext &ctx, SectionChunk *c) {
1037 for (SectionChunk *c : sections)
1045 for (SectionChunk *c : sections) {