Home
last modified time | relevance | path

Searched refs:SectionBase (Results 1 – 20 of 20) sorted by relevance

/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-objcopy/ELF/
H A DObject.h34 class SectionBase; variable
373 bool operator()(const SectionBase *Lhs, const SectionBase *Rhs) const;
390 class SectionBase {
415 SectionBase() = default;
416 SectionBase(const SectionBase &) = default;
431 replaceSectionReferences(const DenseMap<SectionBase *, SectionBase *> &);
439 bool operator()(const SectionBase *Lhs, const SectionBase *Rhs) const { in operator()
564 : SectionBase(Sec) { in DecompressedSection()
717 const DenseMap<SectionBase *, SectionBase *> &FromTo) override;
785 const DenseMap<SectionBase *, SectionBase *> &FromTo) override;
[all …]
H A DELFObjcopy.cpp61 static bool isDWOSection(const SectionBase &Sec) { in isDWOSection()
209 function_ref<Expected<SectionBase *>(const SectionBase *)> AddSection) { in replaceDebugSections()
213 SmallVector<SectionBase *, 13> ToReplace; in replaceDebugSections()
219 DenseMap<SectionBase *, SectionBase *> FromTo; in replaceDebugSections()
220 for (SectionBase *S : ToReplace) { in replaceDebugSections()
301 for (SectionBase &Sec : Obj.sections()) in updateAndRemoveSymbols()
480 [&Config, &Obj](const SectionBase *S) -> Expected<SectionBase *> { in replaceAndRemoveSections()
493 [&Obj](const SectionBase *S) { in replaceAndRemoveSections()
597 for (SectionBase &Sec : Obj.sections()) { in handleArgs()
612 DenseSet<SectionBase *> PrefixedSections; in handleArgs()
[all …]
H A DObject.cpp51 Error SectionBase::removeSectionReferences( in removeSectionReferences()
61 void SectionBase::finalize() {} in finalize()
62 void SectionBase::markSymbols() {} in markSymbols()
63 void SectionBase::replaceSectionReferences( in replaceSectionReferences()
64 const DenseMap<SectionBase *, SectionBase *> &) {} in replaceSectionReferences() argument
65 void SectionBase::onRemove() {} in onRemove()
790 const DenseMap<SectionBase *, SectionBase *> &FromTo) { in replaceSectionReferences() argument
940 Expected<SectionBase *> Sec = in initialize()
1016 const DenseMap<SectionBase *, SectionBase *> &FromTo) { in replaceSectionReferences() argument
1111 const DenseMap<SectionBase *, SectionBase *> &FromTo) { in replaceSectionReferences() argument
[all …]
/freebsd-13.1/contrib/llvm-project/lld/ELF/
H A DInputSection.h40 class SectionBase {
53 SectionBase *repl;
81 return const_cast<SectionBase *>(this)->getOutputSection(); in getOutputSection()
95 SectionBase(Kind sectionKind, StringRef name, uint64_t flags, in SectionBase() function
104 class InputSectionBase : public SectionBase {
115 static bool classof(const SectionBase *s) { return s->kind() != Output; } in classof()
167 SectionBase *parent = nullptr;
279 static bool classof(const SectionBase *s) { return s->kind() == Merge; } in classof()
335 static bool classof(const SectionBase *s) { return s->kind() == EHFrame; } in classof()
372 static bool classof(const SectionBase *s);
H A DOutputSections.h32 class OutputSection final : public BaseCommand, public SectionBase {
36 static bool classof(const SectionBase *s) { in classof()
37 return s->kind() == SectionBase::Output; in classof()
H A DLinkerScript.h36 class SectionBase; variable
42 ExprValue(SectionBase *sec, bool forceAbsolute, uint64_t val, in ExprValue()
54 SectionBase *sec;
H A DRelocations.h23 class SectionBase; variable
172 llvm::DenseMap<std::pair<std::pair<SectionBase *, uint64_t>, int64_t>,
H A DInputSection.cpp64 : SectionBase(sectionKind, name, flags, entsize, alignment, type, info, in InputSectionBase()
70 if (sectionKind == SectionBase::Merge && rawData.size() > UINT32_MAX) in InputSectionBase()
183 uint64_t SectionBase::getOffset(uint64_t offset) const { in getOffset()
207 uint64_t SectionBase::getVA(uint64_t offset) const { in getVA()
212 OutputSection *SectionBase::getOutputSection() { in getOutputSection()
368 bool InputSection::classof(const SectionBase *s) { in classof()
369 return s->kind() == SectionBase::Regular || in classof()
370 s->kind() == SectionBase::Synthetic; in classof()
458 SectionBase *section = d->section->repl; in copyRelocations()
1413 /*Alignment*/ entsize, data, name, SectionBase::Merge) {} in MergeInputSection()
H A DSyntheticSections.h57 static bool classof(const SectionBase *d) { in classof()
76 static bool classof(const SectionBase *d) { in classof()
196 static bool classof(const SectionBase *s) { return s->bss; } in classof()
547 static bool classof(const SectionBase *d) { in classof()
1092 static bool classof(const SectionBase *d);
1239 inline Partition &SectionBase::getPartition() const { in getPartition()
H A DSymbols.h299 uint8_t type, uint64_t value, uint64_t size, SectionBase *section) in Defined()
307 SectionBase *section;
H A DLinkerScript.cpp52 static uint64_t getOutputSectionVA(SectionBase *sec) { in getOutputSectionVA()
168 SectionBase *sec = value.isAbsolute() ? nullptr : value.sec; in addSymbol()
214 DenseMap<const Defined *, std::pair<SectionBase *, uint64_t>>;
H A DMapFile.cpp40 using SymbolMapTy = DenseMap<const SectionBase *, SmallVector<Defined *, 4>>;
H A DWriter.cpp218 } else if (s->kind() == SectionBase::Regular && part.armExidx && in combineEhSections()
228 static Defined *addOptionalRegular(StringRef name, SectionBase *sec, in addOptionalRegular()
738 SectionBase *sec = sym.section; in shouldKeepInSymtab()
748 SectionBase *sec = d->section; in includeInSymtab()
1801 const SectionBase *sec = def->section; in fixSymbolsAfterShrinking()
H A DARMErrataFix.cpp84 static bool classof(const SectionBase *d) { in classof()
H A DAArch64ErrataFix.cpp383 static bool classof(const SectionBase *d) { in classof()
H A DSymbols.cpp72 SectionBase *isec = d.section; in getSymVA()
H A DOutputSections.cpp73 SectionBase(Output, name, flags, /*Entsize*/ 0, /*Alignment*/ 1, type, in OutputSection()
H A DRelocations.cpp545 static void replaceWithDefined(Symbol &sym, SectionBase *sec, uint64_t value, in replaceWithDefined()
1941 SectionBase *target) { in isThunkSectionCompatible()
H A DSyntheticSections.cpp3599 bool ARMExidxSyntheticSection::classof(const SectionBase *d) { in classof()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/TargetProcess/
H A DOrcRPCTPCServer.h542 uint64_t SectionBase = 0; in reserveMemory() local
546 pointerToJITTargetAddress(MB.base()) + SectionBase, in reserveMemory()
548 SectionBase += SectionSize; in reserveMemory()