Home
last modified time | relevance | path

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

/external/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);
282 void writeSection(const SectionBase *Sec, ArrayRef<uint8_t> Data);
329 void writeShdr(const SectionBase &Sec);
370 bool operator()(const SectionBase *Lhs, const SectionBase *Rhs) const;
373 std::set<const SectionBase *, SectionCompare> Sections;
376 Error checkSection(const SectionBase &Sec);
[all …]
DELFObjcopy.cpp53 using SectionPred = std::function<bool(const SectionBase &Sec)>;
55 static bool isDebugSection(const SectionBase &Sec) { in isDebugSection()
60 static bool isDWOSection(const SectionBase &Sec) { in isDWOSection()
64 static bool onlyKeepDWOPred(const Object &Obj, const SectionBase &Sec) { in onlyKeepDWOPred()
102 static void setSectionFlagsAndType(SectionBase &Sec, SectionFlag Flags) { in setSectionFlagsAndType()
272 auto OnlyKeepDWOPred = [&DWOFile](const SectionBase &Sec) { in splitDWOToFile()
314 static bool isCompressable(const SectionBase &Sec) { in isCompressable()
321 function_ref<bool(const SectionBase &)> ShouldReplace, in replaceDebugSections()
322 function_ref<Expected<SectionBase *>(const SectionBase *)> AddSection) { in replaceDebugSections()
326 SmallVector<SectionBase *, 13> ToReplace; in replaceDebugSections()
[all …]
DObject.cpp53 Error SectionBase::removeSectionReferences( in removeSectionReferences()
54 bool, function_ref<bool(const SectionBase *)>) { in removeSectionReferences() argument
58 Error SectionBase::removeSymbols(function_ref<bool(const Symbol &)>) { in removeSymbols()
62 Error SectionBase::initialize(SectionTableRef) { return Error::success(); } in initialize()
63 void SectionBase::finalize() {} in finalize()
64 void SectionBase::markSymbols() {} in markSymbols()
65 void SectionBase::replaceSectionReferences( in replaceSectionReferences()
66 const DenseMap<SectionBase *, SectionBase *> &) {} in replaceSectionReferences() argument
67 void SectionBase::onRemove() {} in onRemove()
69 template <class ELFT> void ELFWriter<ELFT>::writeShdr(const SectionBase &Sec) { in writeShdr()
[all …]
/external/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;
278 static bool classof(const SectionBase *s) { return s->kind() == Merge; } in classof()
334 static bool classof(const SectionBase *s) { return s->kind() == EHFrame; } in classof()
371 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()
DRelocations.h23 class SectionBase; variable
171 llvm::DenseMap<std::pair<std::pair<SectionBase *, uint64_t>, int64_t>,
DLinkerScript.h36 class SectionBase; variable
42 ExprValue(SectionBase *sec, bool forceAbsolute, uint64_t val, in ExprValue()
54 SectionBase *sec;
DInputSection.cpp64 : SectionBase(sectionKind, name, flags, entsize, alignment, type, info, in InputSectionBase()
70 if (sectionKind == SectionBase::Merge && rawData.size() > UINT32_MAX) in InputSectionBase()
168 uint64_t SectionBase::getOffset(uint64_t offset) const { in getOffset()
192 uint64_t SectionBase::getVA(uint64_t offset) const { in getVA()
197 OutputSection *SectionBase::getOutputSection() { in getOutputSection()
375 bool InputSection::classof(const SectionBase *s) { in classof()
376 return s->kind() == SectionBase::Regular || in classof()
377 s->kind() == SectionBase::Synthetic; in classof()
465 SectionBase *section = d->section->repl; in copyRelocations()
1393 /*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()
1048 static bool classof(const SectionBase *d);
1195 inline Partition &SectionBase::getPartition() const { in getPartition()
DSymbols.h297 uint8_t type, uint64_t value, uint64_t size, SectionBase *section) in Defined()
305 SectionBase *section;
DMapFile.cpp40 using SymbolMapTy = DenseMap<const SectionBase *, SmallVector<Defined *, 4>>;
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>>;
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()
1784 const SectionBase *sec = def->section; in fixSymbolsAfterShrinking()
DARMErrataFix.cpp84 static bool classof(const SectionBase *d) { in classof()
DAArch64ErrataFix.cpp383 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.cpp532 static void replaceWithDefined(Symbol &sym, SectionBase *sec, uint64_t value, in replaceWithDefined()
1870 SectionBase *target) { in isThunkSectionCompatible()
DSyntheticSections.cpp3527 bool ARMExidxSyntheticSection::classof(const SectionBase *d) { in classof()
/external/protobuf/objectivec/DevTools/
Dpddm.py380 class SectionBase(object): class in SourceFile
438 class TextSection(SectionBase):
447 class ExpansionSection(SectionBase):
451 SourceFile.SectionBase.__init__(self, first_line_num)
477 captured_lines = SourceFile.SectionBase.lines.fget(self)
509 class DefinitionSection(SectionBase):
535 class ImportDefinesSection(SectionBase):
539 SourceFile.SectionBase.__init__(self, first_line_num)
/external/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/TargetProcess/
DOrcRPCTPCServer.h497 uint64_t SectionBase = 0; in reserveMemory() local
501 pointerToJITTargetAddress(MB.base()) + SectionBase, in reserveMemory()
503 SectionBase += SectionSize; in reserveMemory()
/external/llvm/lib/ExecutionEngine/RuntimeDyld/
DRuntimeDyldChecker.cpp839 uintptr_t SectionBase = reinterpret_cast<uintptr_t>( in getStubAddrFor() local
841 Addr = static_cast<uint64_t>(SectionBase) + StubOffset; in getStubAddrFor()
843 uint64_t SectionBase = getRTDyld().Sections[SectionID].getLoadAddress(); in getStubAddrFor() local
844 Addr = SectionBase + StubOffset; in getStubAddrFor()