Lines Matching refs:pSection
381 void ELFObjectWriter::emitSectionData(const LDSection& pSection,
384 switch (pSection.kind()) {
386 assert(pSection.hasRelocData());
389 assert(pSection.hasEhFrame());
390 sd = pSection.getEhFrame()->getSectionData();
393 assert(pSection.hasSectionData());
394 sd = pSection.getSectionData();
449 const LDSection& pSection,
451 const RelocData* sect_data = pSection
454 if (pSection.type() == llvm::ELF::SHT_REL) {
463 } else if (pSection.type() == llvm::ELF::SHT_RELA) {
563 uint64_t ELFObjectWriter::getSectEntrySize(const LDSection& pSection) const {
570 if (llvm::ELF::SHT_DYNSYM == pSection.type() ||
571 llvm::ELF::SHT_SYMTAB == pSection.type())
573 if (llvm::ELF::SHT_REL == pSection.type())
575 if (llvm::ELF::SHT_RELA == pSection.type())
577 if (llvm::ELF::SHT_HASH == pSection.type() ||
578 llvm::ELF::SHT_GNU_HASH == pSection.type())
580 if (llvm::ELF::SHT_DYNAMIC == pSection.type())
586 if (pSection.flag() & llvm::ELF::SHF_STRINGS)
592 uint64_t ELFObjectWriter::getSectLink(const LDSection& pSection,
594 if (llvm::ELF::SHT_SYMTAB == pSection.type())
596 if (llvm::ELF::SHT_DYNSYM == pSection.type())
598 if (llvm::ELF::SHT_DYNAMIC == pSection.type())
600 if (llvm::ELF::SHT_HASH == pSection.type() ||
601 llvm::ELF::SHT_GNU_HASH == pSection.type())
603 if (llvm::ELF::SHT_REL == pSection.type() ||
604 llvm::ELF::SHT_RELA == pSection.type()) {
611 if (llvm::ELF::SHT_ARM_EXIDX == pSection.type())
617 uint64_t ELFObjectWriter::getSectInfo(const LDSection& pSection) const {
618 if (llvm::ELF::SHT_SYMTAB == pSection.type() ||
619 llvm::ELF::SHT_DYNSYM == pSection.type())
620 return pSection.getInfo();
622 if (llvm::ELF::SHT_REL == pSection.type() ||
623 llvm::ELF::SHT_RELA == pSection.type()) {
624 const LDSection* info_link = pSection.getLink();