Home
last modified time | relevance | path

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

/freebsd-12-stable/contrib/llvm-project/llvm/tools/llvm-objcopy/ELF/
DObject.h34 class SectionBase; variable
51 MutableArrayRef<std::unique_ptr<SectionBase>> Sections;
54 using iterator = pointee_iterator<std::unique_ptr<SectionBase> *>;
56 explicit SectionTableRef(MutableArrayRef<std::unique_ptr<SectionBase>> Secs) in SectionTableRef()
64 Expected<SectionBase *> getSection(uint32_t Index, Twine ErrMsg);
283 void writeSection(const SectionBase *Sec, ArrayRef<uint8_t> Data);
332 void writeShdr(const SectionBase &Sec);
373 bool operator()(const SectionBase *Lhs, const SectionBase *Rhs) const;
376 std::set<const SectionBase *, SectionCompare> Sections;
379 Error checkSection(const SectionBase &Sec);
[all …]
DELFObjcopy.cpp54 using SectionPred = std::function<bool(const SectionBase &Sec)>;
56 static bool isDebugSection(const SectionBase &Sec) { in isDebugSection()
61 static bool isDWOSection(const SectionBase &Sec) { in isDWOSection()
65 static bool onlyKeepDWOPred(const Object &Obj, const SectionBase &Sec) { in onlyKeepDWOPred()
103 static void setSectionFlagsAndType(SectionBase &Sec, SectionFlag Flags) { in setSectionFlagsAndType()
201 static bool isCompressable(const SectionBase &Sec) { in isCompressable()
208 function_ref<bool(const SectionBase &)> ShouldReplace, in replaceDebugSections()
209 function_ref<Expected<SectionBase *>(const SectionBase *)> AddSection) { in replaceDebugSections()
213 SmallVector<SectionBase *, 13> ToReplace; in replaceDebugSections()
219 DenseMap<SectionBase *, SectionBase *> FromTo; in replaceDebugSections()
[all …]
DObject.cpp51 Error SectionBase::removeSectionReferences( in removeSectionReferences()
52 bool, function_ref<bool(const SectionBase *)>) { in removeSectionReferences() argument
56 Error SectionBase::removeSymbols(function_ref<bool(const Symbol &)>) { in removeSymbols()
60 Error SectionBase::initialize(SectionTableRef) { return Error::success(); } in initialize()
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()
67 template <class ELFT> void ELFWriter<ELFT>::writeShdr(const SectionBase &Sec) { in writeShdr()
[all …]
/freebsd-12-stable/contrib/llvm-project/lld/ELF/
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);
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()
DLinkerScript.h36 class SectionBase; variable
42 ExprValue(SectionBase *sec, bool forceAbsolute, uint64_t val, in ExprValue()
54 SectionBase *sec;
DRelocations.h23 class SectionBase; variable
172 llvm::DenseMap<std::pair<std::pair<SectionBase *, uint64_t>, int64_t>,
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()
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()
DSymbols.h299 uint8_t type, uint64_t value, uint64_t size, SectionBase *section) in Defined()
307 SectionBase *section;
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>>;
DMapFile.cpp40 using SymbolMapTy = DenseMap<const SectionBase *, SmallVector<Defined *, 4>>;
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()
DAArch64ErrataFix.cpp383 static bool classof(const SectionBase *d) { in classof()
DARMErrataFix.cpp84 static bool classof(const SectionBase *d) { in classof()
DSymbols.cpp72 SectionBase *isec = d.section; in getSymVA()
DOutputSections.cpp73 SectionBase(Output, name, flags, /*Entsize*/ 0, /*Alignment*/ 1, type, in OutputSection()
DRelocations.cpp545 static void replaceWithDefined(Symbol &sym, SectionBase *sec, uint64_t value, in replaceWithDefined()
1941 SectionBase *target) { in isThunkSectionCompatible()
DSyntheticSections.cpp3599 bool ARMExidxSyntheticSection::classof(const SectionBase *d) { in classof()
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/TargetProcess/
DOrcRPCTPCServer.h542 uint64_t SectionBase = 0; in reserveMemory() local
546 pointerToJITTargetAddress(MB.base()) + SectionBase, in reserveMemory()
548 SectionBase += SectionSize; in reserveMemory()