/external/llvm-project/llvm/tools/llvm-objcopy/ELF/ |
D | Object.h | 34 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 …]
|
D | ELFObjcopy.cpp | 53 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 …]
|
D | Object.cpp | 53 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/ |
D | InputSection.h | 40 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);
|
D | OutputSections.h | 32 class OutputSection final : public BaseCommand, public SectionBase { 36 static bool classof(const SectionBase *s) { in classof() 37 return s->kind() == SectionBase::Output; in classof()
|
D | Relocations.h | 23 class SectionBase; variable 171 llvm::DenseMap<std::pair<std::pair<SectionBase *, uint64_t>, int64_t>,
|
D | LinkerScript.h | 36 class SectionBase; variable 42 ExprValue(SectionBase *sec, bool forceAbsolute, uint64_t val, in ExprValue() 54 SectionBase *sec;
|
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() 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()
|
D | SyntheticSections.h | 57 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()
|
D | Symbols.h | 297 uint8_t type, uint64_t value, uint64_t size, SectionBase *section) in Defined() 305 SectionBase *section;
|
D | MapFile.cpp | 40 using SymbolMapTy = DenseMap<const SectionBase *, SmallVector<Defined *, 4>>;
|
D | LinkerScript.cpp | 52 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>>;
|
D | Writer.cpp | 218 } 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()
|
D | ARMErrataFix.cpp | 84 static bool classof(const SectionBase *d) { in classof()
|
D | AArch64ErrataFix.cpp | 383 static bool classof(const SectionBase *d) { in classof()
|
D | Symbols.cpp | 72 SectionBase *isec = d.section; in getSymVA()
|
D | OutputSections.cpp | 73 SectionBase(Output, name, flags, /*Entsize*/ 0, /*Alignment*/ 1, type, in OutputSection()
|
D | Relocations.cpp | 532 static void replaceWithDefined(Symbol &sym, SectionBase *sec, uint64_t value, in replaceWithDefined() 1870 SectionBase *target) { in isThunkSectionCompatible()
|
D | SyntheticSections.cpp | 3527 bool ARMExidxSyntheticSection::classof(const SectionBase *d) { in classof()
|
/external/protobuf/objectivec/DevTools/ |
D | pddm.py | 380 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/ |
D | OrcRPCTPCServer.h | 497 uint64_t SectionBase = 0; in reserveMemory() local 501 pointerToJITTargetAddress(MB.base()) + SectionBase, in reserveMemory() 503 SectionBase += SectionSize; in reserveMemory()
|
/external/llvm/lib/ExecutionEngine/RuntimeDyld/ |
D | RuntimeDyldChecker.cpp | 839 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()
|