| /freebsd-12.1/contrib/llvm/tools/lld/ELF/ |
| H A D | ICF.cpp | 112 bool equalsConstant(const InputSection *A, const InputSection *B); 113 bool equalsVariable(const InputSection *A, const InputSection *B); 122 std::vector<InputSection *> Sections; 160 static bool isEligible(InputSection *S) { in isEligible() 273 if (isa<InputSection>(DA->Section)) { in constantEq() 302 bool ICF<ELFT>::equalsConstant(const InputSection *A, const InputSection *B) { in equalsConstant() 343 auto *X = dyn_cast<InputSection>(DA->Section); in variableEq() 346 auto *Y = cast<InputSection>(DB->Section); in variableEq() 361 bool ICF<ELFT>::equalsVariable(const InputSection *A, const InputSection *B) { in equalsVariable() 451 if (auto *S = dyn_cast<InputSection>(Sec)) in run() [all …]
|
| H A D | InputSection.cpp | 193 InputSection *Sec; in getOutputSection() 355 InputSection InputSection::Discarded(nullptr, 0, 0, 0, ArrayRef<uint8_t>(), ""); 357 InputSection::InputSection(InputFile *F, uint64_t Flags, uint32_t Type, in InputSection() function in InputSection 365 InputSection::InputSection(ObjFile<ELFT> &F, const typename ELFT::Shdr &Header, in InputSection() function in InputSection 555 InputSection *IS = cast<InputSection>(D->Section); in getRISCVPCRelHi20() 1015 if (InputSection *IS = cast_or_null<InputSection>(D->Section)) in adjustSplitStackFunctionPrologues() 1084 void InputSection::replace(InputSection *Other) { in replace() 1241 template InputSection::InputSection(ObjFile<ELF32LE> &, const ELF32LE::Shdr &, 1243 template InputSection::InputSection(ObjFile<ELF32BE> &, const ELF32BE::Shdr &, 1245 template InputSection::InputSection(ObjFile<ELF64LE> &, const ELF64LE::Shdr &, [all …]
|
| H A D | OutputSections.cpp | 88 void OutputSection::addSection(InputSection *IS) { in addSection() 141 static void sortByOrder(MutableArrayRef<InputSection *> In, in sortByOrder() 143 typedef std::pair<int, InputSection *> Pair; in sortByOrder() 147 for (InputSection *S : In) in sortByOrder() 239 std::vector<InputSection *> Sections = getInputSections(this); in writeTo() 246 InputSection *IS = Sections[I]; in writeTo() 270 InputSection *Section) { in finalizeShtGroup() 290 std::vector<InputSection *> V = getInputSections(this); in finalize() 291 InputSection *First = V.empty() ? nullptr : V[0]; in finalize() 352 static bool compCtors(const InputSection *A, const InputSection *B) { in compCtors() [all …]
|
| H A D | LinkerScript.cpp | 376 std::vector<InputSection *> 378 std::vector<InputSection *> Ret; in computeInputSections() 406 Ret.push_back(cast<InputSection>(Sec)); in computeInputSections() 417 for (InputSection *S : V) { in discard() 435 std::vector<InputSection *> 437 std::vector<InputSection *> Ret; in createInputSectionList() 519 for (InputSection *S : V) in processSectionCommands() 544 Sec->addSection(cast<InputSection>(IS)); in createSection() 568 auto *Sec = cast<InputSection>(IS); in addInputSec() 630 Sec->addSection(cast<InputSection>(IS)); in addInputSec() [all …]
|
| H A D | AArch64ErrataFix.cpp | 342 static uint64_t scanCortexA53Errata843419(InputSection *IS, uint64_t &Off, in scanCortexA53Errata843419() 380 Patch843419Section(InputSection *P, uint64_t Off); 389 const InputSection *Patchee; 396 lld::elf::Patch843419Section::Patch843419Section(InputSection *P, uint64_t Off) in Patch843419Section() 454 if (auto *Sec = dyn_cast_or_null<InputSection>(Def->Section)) in init() 498 for (const InputSection *IS : ISD.Sections) { in insertPatches() 519 std::vector<InputSection *> Tmp; in insertPatches() 521 auto MergeCmp = [](const InputSection *A, const InputSection *B) { in insertPatches() 539 InputSection *IS, in implementPatch() 587 for (InputSection *IS : ISD.Sections) { in patchInputSectionDescription()
|
| H A D | InputFiles.cpp | 490 InputSection *IS = cast<InputSection>(this->Sections[I]); in initializeSections() 492 if (!isa<InputSection>(LinkSec)) in initializeSections() 629 return &InputSection::Discarded; in createInputSection() 646 InputSection *RelocSec = make<InputSection>(*this, Sec, Name); in createInputSection() 688 InputSection *RelocSec = make<InputSection>(*this, Sec, Name); in createInputSection() 711 return &InputSection::Discarded; in createInputSection() 720 return &InputSection::Discarded; in createInputSection() 723 return &InputSection::Discarded; in createInputSection() 731 return &InputSection::Discarded; in createInputSection() 741 return &InputSection::Discarded; in createInputSection() [all …]
|
| H A D | LinkerScript.h | 33 class InputSection; variable 173 std::vector<InputSection *> Sections; 231 std::vector<InputSection *> 234 std::vector<InputSection *> createInputSectionList(OutputSection &Cmd); 242 void output(InputSection *Sec); 264 void discard(ArrayRef<InputSection *> V);
|
| H A D | MarkLive.cpp | 93 forEachSuccessor(InputSection &Sec, in forEachSuccessor() 148 if (Sec && Sec != &InputSection::Discarded && in scanEhFrameSection() 191 SmallVector<InputSection *, 256> Q; in doGcSections() 199 if (Sec == &InputSection::Discarded) in doGcSections() 214 if (InputSection *S = dyn_cast<InputSection>(Sec)) in doGcSections()
|
| H A D | InputSection.h | 165 llvm::TinyPtrVector<InputSection *> DependentSections; 170 InputSection *getLinkOrderDep() const; 317 class InputSection : public InputSectionBase { 319 InputSection(InputFile *F, uint64_t Flags, uint32_t Type, uint32_t Alignment, 322 InputSection(ObjFile<ELFT> &F, const typename ELFT::Shdr &Header, 350 void replace(InputSection *Other); 352 static InputSection Discarded;
|
| H A D | Relocations.h | 21 class InputSection; variable 175 ThunkSection *getISDThunkSec(OutputSection *OS, InputSection *IS, 179 ThunkSection *getISThunkSec(InputSection *IS); 203 llvm::DenseMap<InputSection *, ThunkSection *> ThunkedSections;
|
| H A D | Writer.cpp | 101 if (auto *IS = dyn_cast<InputSection>(S)) { in getOutputSectionName() 956 InputSection *GotSection = In.GotPlt; in setReservedSymbolSections() 1172 std::vector<InputSection *> UnorderedSections; in sortISDBySectionOrder() 1176 for (InputSection *IS : ISD->Sections) { in sortISDBySectionOrder() 1389 static bool compareByFilePosition(InputSection *A, InputSection *B) { in compareByFilePosition() 1395 InputSection *LA = A->getLinkOrderDep(); in compareByFilePosition() 1396 InputSection *LB = B->getLinkOrderDep(); in compareByFilePosition() 1417 static bool isDuplicateArmExidxSec(InputSection *Prev, InputSection *Cur) { in isDuplicateArmExidxSec() 1459 std::vector<InputSection **> ScriptSections; in resolveShfLinkOrder() 1460 std::vector<InputSection *> Sections; in resolveShfLinkOrder() [all …]
|
| H A D | OutputSections.h | 29 class InputSection; variable 84 void addSection(InputSection *IS); 126 std::vector<InputSection *> getInputSections(OutputSection* OS);
|
| H A D | AArch64ErrataFix.h | 21 class InputSection; variable 43 std::map<InputSection *, std::vector<const Defined *>> SectionMap;
|
| H A D | SyntheticSections.h | 37 class SyntheticSection : public InputSection { 41 : InputSection(nullptr, Flags, Type, Alignment, {}, Name, in SyntheticSection() 463 void addInSec(int32_t Tag, InputSection *Sec); 464 void addInSecRelative(int32_t Tag, InputSection *Sec); 676 InputSection *Section; 693 InputSection *Sec; 945 InputSection *Highest = nullptr; 962 InputSection *getTargetInputSection() const; 989 InputSection *createInterpSection(); 999 InputSection *ARMAttributes; [all …]
|
| H A D | Thunks.cpp | 214 InputSection *getTargetInputSection() const override; 225 InputSection *getTargetInputSection() const override; 236 InputSection *getTargetInputSection() const override; 632 InputSection *MipsThunk::getTargetInputSection() const { in getTargetInputSection() 634 return dyn_cast<InputSection>(DR.Section); in getTargetInputSection() 656 InputSection *MicroMipsThunk::getTargetInputSection() const { in getTargetInputSection() 658 return dyn_cast<InputSection>(DR.Section); in getTargetInputSection() 680 InputSection *MicroMipsR6Thunk::getTargetInputSection() const { in getTargetInputSection() 682 return dyn_cast<InputSection>(DR.Section); in getTargetInputSection()
|
| H A D | Relocations.cpp | 1108 static bool mergeCmp(const InputSection *A, const InputSection *B) { in mergeCmp() 1261 std::vector<InputSection *> Tmp; in mergeThunks() 1275 ThunkSection *ThunkCreator::getISDThunkSec(OutputSection *OS, InputSection *IS, in getISDThunkSec() 1303 ThunkSection *ThunkCreator::getISThunkSec(InputSection *IS) { in getISThunkSec() 1316 InputSection *First = ISD->Sections.front(); in getISThunkSec() 1317 InputSection *Last = ISD->Sections.back(); in getISThunkSec() 1366 for (const InputSection *IS : ISD->Sections) { in createInitialThunkSections() 1470 for (InputSection *IS : ISD->Sections) in createThunks()
|
| H A D | Thunks.h | 48 virtual InputSection *getTargetInputSection() const { return nullptr; } in getTargetInputSection()
|
| H A D | Target.h | 45 virtual void addPltHeaderSymbols(InputSection &IS) const {} in addPltHeaderSymbols() 46 virtual void addPltSymbols(InputSection &IS, uint64_t Off) const {} in addPltSymbols()
|
| H A D | SyntheticSections.cpp | 249 InputSection *elf::createInterpSection() { in createInterpSection() 857 for (InputSection *IS : ISD->Sections) { in build() 2404 static std::vector<InputSection *> getDebugInfoSections() { in getDebugInfoSections() 2405 std::vector<InputSection *> Ret; in getDebugInfoSections() 2407 if (InputSection *IS = dyn_cast<InputSection>(S)) in getDebugInfoSections() 2421 readAddressAreas(DWARFContext &Dwarf, InputSection *Sec) { in readAddressAreas() 2435 if (!S || S == &InputSection::Discarded || !S->Live) in readAddressAreas() 2440 auto *IS = cast<InputSection>(S); in readAddressAreas() 2561 std::vector<InputSection *> Sections = getDebugInfoSections(); in create() 3063 for (InputSection *IS : getInputSections(getParent())) in empty() [all …]
|
| H A D | CMakeLists.txt | 33 InputSection.cpp
|
| H A D | DWARF.h | 21 class InputSection; variable
|
| H A D | DWARF.cpp | 92 Val += cast<InputSection>(DR->Section)->getOffsetInFile(); in findAux()
|
| H A D | Target.cpp | 98 auto *IS = cast<InputSection>(D); in getErrPlace()
|
| /freebsd-12.1/contrib/llvm/tools/lld/ELF/Arch/ |
| H A D | ARM.cpp | 39 void addPltSymbols(InputSection &IS, uint64_t Off) const override; 40 void addPltHeaderSymbols(InputSection &ISD) const override; 211 void ARM::addPltHeaderSymbols(InputSection &IS) const { in addPltHeaderSymbols() 260 void ARM::addPltSymbols(InputSection &IS, uint64_t Off) const { in addPltSymbols()
|
| /freebsd-12.1/usr.bin/clang/lld/ |
| H A D | Makefile | 55 SRCS+= ELF/InputSection.cpp
|