| /freebsd-12.1/contrib/llvm/tools/llvm-objcopy/ELF/ |
| H A D | Object.h | 35 class SectionBase; variable 249 class SectionBase { 270 SectionBase() = default; 271 SectionBase(const SectionBase &) = default; 273 virtual ~SectionBase() = default; 287 bool operator()(const SectionBase *Lhs, const SectionBase *Rhs) const { in operator() 327 class Section : public SectionBase { 331 SectionBase *LinkSection = nullptr; 392 : SectionBase(Sec) { in DecompressedSection() 452 SectionBase *DefinedIn = nullptr; [all …]
|
| H A D | ELFObjcopy.cpp | 56 static bool isDebugSection(const SectionBase &Sec) { in isDebugSection() 61 static bool isDWOSection(const SectionBase &Sec) { in isDWOSection() 208 static bool isCompressed(const SectionBase &Section) { in isCompressed() 217 static bool isCompressable(const SectionBase &Section) { in isCompressable() 225 function_ref<SectionBase *(const SectionBase *)> addSection) { in replaceDebugSections() 226 SmallVector<SectionBase *, 13> ToReplace; in replaceDebugSections() 239 for (SectionBase *S : ToReplace) { in replaceDebugSections() 240 SectionBase *NewSection = addSection(S); in replaceDebugSections() 351 RemovePred = [&Config](const SectionBase &Sec) { in handleArgs() 357 RemovePred = [RemovePred](const SectionBase &Sec) { in handleArgs() [all …]
|
| H A D | Object.cpp | 52 void SectionBase::removeSectionReferences(const SectionBase *Sec) {} in removeSectionReferences() 54 void SectionBase::initialize(SectionTableRef SecTable) {} in initialize() 55 void SectionBase::finalize() {} in finalize() 56 void SectionBase::markSymbols() {} in markSymbols() 254 CompressedSection::CompressedSection(const SectionBase &Sec, in CompressedSection() 256 : SectionBase(Sec), CompressionType(CompressionType), in CompressedSection() 540 const SectionBase *Sec) { in removeSectionReferences() 746 static bool sectionWithinSegment(const SectionBase &Section, in sectionWithinSegment() 965 SectionBase *DefSection = nullptr; in initSymbolTable() 1539 Obj.removeSections([this](const SectionBase &Sec) { in finalize() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/lld/ELF/ |
| H A D | InputSection.h | 38 class SectionBase { 51 SectionBase *Repl; 77 return const_cast<SectionBase *>(this)->getOutputSection(); in getOutputSection() 87 SectionBase(Kind SectionKind, StringRef Name, uint64_t Flags, in SectionBase() function 96 class InputSectionBase : public SectionBase { 107 static bool classof(const SectionBase *S) { return S->kind() != Output; } in classof() 143 SectionBase *Parent = nullptr; 246 static bool classof(const SectionBase *S) { return S->kind() == Merge; } in classof() 302 static bool classof(const SectionBase *S) { return S->kind() == EHFrame; } in classof() 339 static bool classof(const SectionBase *S);
|
| H A D | OutputSections.h | 42 class OutputSection final : public BaseCommand, public SectionBase { 46 static bool classof(const SectionBase *S) { in classof() 47 return S->kind() == SectionBase::Output; in classof()
|
| H A D | LinkerScript.h | 37 class SectionBase; variable 43 ExprValue(SectionBase *Sec, bool ForceAbsolute, uint64_t Val, in ExprValue() 55 SectionBase *Sec;
|
| H A D | SymbolTable.h | 22 class SectionBase; variable 50 SectionBase *Section, InputFile *File);
|
| H A D | InputSection.cpp | 64 : SectionBase(SectionKind, Name, Flags, Entsize, Alignment, Type, Info, in InputSectionBase() 70 if (SectionKind == SectionBase::Merge && RawData.size() > UINT32_MAX) in InputSectionBase() 163 uint64_t SectionBase::getOffset(uint64_t Offset) const { in getOffset() 187 uint64_t SectionBase::getVA(uint64_t Offset) const { in getVA() 192 OutputSection *SectionBase::getOutputSection() { in getOutputSection() 369 bool InputSection::classof(const SectionBase *S) { in classof() 370 return S->kind() == SectionBase::Regular || in classof() 371 S->kind() == SectionBase::Synthetic; in classof() 440 SectionBase *Section = D->Section->Repl; in copyRelocations() 1199 /*Alignment*/ Entsize, Data, Name, SectionBase::Merge) {} in MergeInputSection()
|
| H A D | Relocations.h | 24 class SectionBase; variable 191 llvm::DenseMap<std::pair<SectionBase *, uint64_t>, std::vector<Thunk *>>
|
| H A D | Symbols.h | 225 uint8_t Type, uint64_t Value, uint64_t Size, SectionBase *Section) in Defined() 233 SectionBase *Section;
|
| H A D | SyntheticSections.h | 55 static bool classof(const SectionBase *D) { in classof() 179 static bool classof(const SectionBase *S) { return S->Bss; } in classof() 940 static bool classof(const SectionBase *D);
|
| H A D | Symbols.cpp | 48 SectionBase *IS = D.Section; in getSymVA()
|
| H A D | MapFile.cpp | 41 typedef DenseMap<const SectionBase *, SmallVector<Defined *, 4>> SymbolMapTy;
|
| H A D | Writer.cpp | 169 static Defined *addOptionalRegular(StringRef Name, SectionBase *Sec, in addOptionalRegular() 542 static bool shouldKeepInSymtab(SectionBase *Sec, StringRef SymName, in shouldKeepInSymtab() 575 SectionBase *Sec = D->Section; in includeInSymtab() 611 SectionBase *Sec = DR->Section; in copyLocalSymbols()
|
| H A D | LinkerScript.cpp | 52 static uint64_t getOutputSectionVA(SectionBase *InputSec, StringRef Loc) { in getOutputSectionVA() 176 SectionBase *Sec = Value.isAbsolute() ? nullptr : Value.Sec; in addSymbol()
|
| H A D | OutputSections.cpp | 71 SectionBase(Output, Name, Flags, /*Entsize*/ 0, /*Alignment*/ 1, Type, in OutputSection()
|
| H A D | SymbolTable.cpp | 472 SectionBase *Section, InputFile *File) { in addDefined()
|
| H A D | Relocations.cpp | 507 static void replaceWithDefined(Symbol &Sym, SectionBase *Sec, uint64_t Value, in replaceWithDefined()
|
| H A D | SyntheticSections.cpp | 410 if (SectionBase *Sec = D->Section) in isFdeLive() 3069 bool ARMExidxSentinelSection::classof(const SectionBase *D) { in classof()
|
| /freebsd-12.1/contrib/llvm/lib/ExecutionEngine/RuntimeDyld/ |
| H A D | RuntimeDyldChecker.cpp | 877 uintptr_t SectionBase = reinterpret_cast<uintptr_t>( in getStubAddrFor() local 879 Addr = static_cast<uint64_t>(SectionBase) + StubOffset; in getStubAddrFor() 881 uint64_t SectionBase = getRTDyld().Sections[SectionID].getLoadAddress(); in getStubAddrFor() local 882 Addr = SectionBase + StubOffset; in getStubAddrFor()
|