Home
last modified time | relevance | path

Searched refs:inputSec (Results 1 – 4 of 4) sorted by relevance

/llvm-project-15.0.7/lld/ELF/
H A DSyntheticSections.h446 DynamicReloc(RelType type, const InputSectionBase *inputSec, in DynamicReloc() argument
449 : sym(&sym), inputSec(inputSec), offsetInSec(offsetInSec), type(type), in DynamicReloc()
452 DynamicReloc(RelType type, const InputSectionBase *inputSec,
454 : sym(nullptr), inputSec(inputSec), offsetInSec(offsetInSec), type(type), in sym()
458 DynamicReloc(RelType type, const InputSectionBase *inputSec, in DynamicReloc() argument
461 : sym(nullptr), outputSec(outputSec), inputSec(inputSec), in DynamicReloc()
480 const InputSectionBase *inputSec; variable
534 InputSectionBase &inputSec, uint64_t offsetInSec, Symbol &sym,
584 uint64_t getOffset() const { return inputSec->getVA(offsetInSec); } in getOffset()
586 const InputSectionBase *inputSec; member
H A DWriter.cpp1731 const InputSectionBase *inputSec = dyn_cast<InputSectionBase>(sec); in fixSymbolsAfterShrinking() local
1732 if (!inputSec || !inputSec->bytesDropped) in fixSymbolsAfterShrinking()
1735 const size_t OldSize = inputSec->rawData.size(); in fixSymbolsAfterShrinking()
1736 const size_t NewSize = OldSize - inputSec->bytesDropped; in fixSymbolsAfterShrinking()
1742 << def->value - inputSec->bytesDropped << " bytes\n"); in fixSymbolsAfterShrinking()
1743 def->value -= inputSec->bytesDropped; in fixSymbolsAfterShrinking()
1751 << def->size << " to " << def->size - inputSec->bytesDropped in fixSymbolsAfterShrinking()
1753 def->size -= inputSec->bytesDropped; in fixSymbolsAfterShrinking()
H A DOutputSections.cpp650 const OutputSection *relOsec = rel.inputSec->getOutputSection(); in checkDynRelAddends()
653 bufStart + relOsec->offset + rel.inputSec->getOffset(rel.offsetInSec); in checkDynRelAddends()
H A DSyntheticSections.cpp1573 return inputSec->getVA(offsetInSec); in getOffset()
1586 return InputSection::getRelocTargetVA(inputSec->file, type, addend, in computeAddend()
1624 RelType dynType, InputSectionBase &inputSec, uint64_t offsetInSec, in addRelativeReloc() argument
1632 addReloc(DynamicReloc::AddendOnlyWithTargetVA, dynType, inputSec, offsetInSec, in addRelativeReloc()
1649 InputSectionBase &inputSec, in addReloc() argument
1656 inputSec.relocations.push_back( in addReloc()
1658 addReloc({dynType, &inputSec, offsetInSec, kind, sym, addend, expr}); in addReloc()