Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-objcopy/
DObject.h32 class SectionBase; variable
47 MutableArrayRef<std::unique_ptr<SectionBase>> Sections;
50 using iterator = pointee_iterator<std::unique_ptr<SectionBase> *>;
52 explicit SectionTableRef(MutableArrayRef<std::unique_ptr<SectionBase>> Secs) in SectionTableRef()
59 SectionBase *getSection(uint32_t Index, Twine ErrMsg);
199 void writeShdr(const SectionBase &Sec);
234 class SectionBase {
254 virtual ~SectionBase() = default;
258 virtual void removeSectionReferences(const SectionBase *Sec);
267 bool operator()(const SectionBase *Lhs, const SectionBase *Rhs) const { in operator()
[all …]
Dllvm-objcopy.cpp153 using SectionPred = std::function<bool(const SectionBase &Sec)>;
188 static bool IsDebugSection(const SectionBase &Sec) { in IsDebugSection()
193 static bool IsDWOSection(const SectionBase &Sec) { in IsDWOSection()
197 static bool OnlyKeepDWOPred(const Object &Obj, const SectionBase &Sec) { in OnlyKeepDWOPred()
234 [&](const SectionBase &Sec) { return OnlyKeepDWOPred(*DWOFile, Sec); }); in SplitDWOToFile()
319 SectionPred RemovePred = [](const SectionBase &) { return false; }; in HandleArgs() argument
323 RemovePred = [&Config](const SectionBase &Sec) { in HandleArgs()
329 RemovePred = [RemovePred](const SectionBase &Sec) { in HandleArgs()
334 RemovePred = [RemovePred, &Obj](const SectionBase &Sec) { in HandleArgs()
339 RemovePred = [RemovePred, &Obj](const SectionBase &Sec) { in HandleArgs()
[all …]
DObject.cpp81 void SectionBase::removeSectionReferences(const SectionBase *Sec) {} in removeSectionReferences()
82 void SectionBase::removeSymbols(function_ref<bool(const Symbol &)> ToRemove) {} in removeSymbols()
83 void SectionBase::initialize(SectionTableRef SecTable) {} in initialize()
84 void SectionBase::finalize() {} in finalize()
85 void SectionBase::markSymbols() {} in markSymbols()
87 template <class ELFT> void ELFWriter<ELFT>::writeShdr(const SectionBase &Sec) { in writeShdr()
236 SectionBase *DefinedIn, uint64_t Value, in addSymbol()
260 void SymbolTableSection::removeSectionReferences(const SectionBase *Sec) { in removeSectionReferences()
367 const SectionBase *Sec) { in removeSectionReferences()
454 void Section::removeSectionReferences(const SectionBase *Sec) { in removeSectionReferences()
[all …]
/external/protobuf/objectivec/DevTools/
Dpddm.py377 class SectionBase(object): class in SourceFile
435 class TextSection(SectionBase):
444 class ExpansionSection(SectionBase):
448 SourceFile.SectionBase.__init__(self, first_line_num)
474 captured_lines = SourceFile.SectionBase.lines.fget(self)
505 class DefinitionSection(SectionBase):
531 class ImportDefinesSection(SectionBase):
535 SourceFile.SectionBase.__init__(self, first_line_num)
/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()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/RuntimeDyld/
DRuntimeDyldChecker.cpp856 uintptr_t SectionBase = reinterpret_cast<uintptr_t>( in getStubAddrFor() local
858 Addr = static_cast<uint64_t>(SectionBase) + StubOffset; in getStubAddrFor()
860 uint64_t SectionBase = getRTDyld().Sections[SectionID].getLoadAddress(); in getStubAddrFor() local
861 Addr = SectionBase + StubOffset; in getStubAddrFor()