Home
last modified time | relevance | path

Searched refs:ObjectFile (Results 1 – 25 of 91) sorted by relevance

1234

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ObjectYAML/
DObjectYAML.cpp23 YamlObjectFile &ObjectFile) { in mapping() argument
25 if (ObjectFile.Elf) in mapping()
26 MappingTraits<ELFYAML::Object>::mapping(IO, *ObjectFile.Elf); in mapping()
27 if (ObjectFile.Coff) in mapping()
28 MappingTraits<COFFYAML::Object>::mapping(IO, *ObjectFile.Coff); in mapping()
29 if (ObjectFile.MachO) in mapping()
30 MappingTraits<MachOYAML::Object>::mapping(IO, *ObjectFile.MachO); in mapping()
31 if (ObjectFile.FatMachO) in mapping()
33 *ObjectFile.FatMachO); in mapping()
37 ObjectFile.Elf.reset(new ELFYAML::Object()); in mapping()
[all …]
Dyaml2obj.cpp56 std::unique_ptr<object::ObjectFile>
66 Expected<std::unique_ptr<object::ObjectFile>> ObjOrErr = in yaml2ObjectFile()
67 object::ObjectFile::createObjectFile( in yaml2ObjectFile()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Object/
DObjectFile.cpp42 void ObjectFile::anchor() {} in anchor()
44 ObjectFile::ObjectFile(unsigned int Type, MemoryBufferRef Source) in ObjectFile() function in ObjectFile
57 uint64_t ObjectFile::getSymbolValue(DataRefImpl Ref) const { in getSymbolValue()
66 Error ObjectFile::printSymbolName(raw_ostream &OS, DataRefImpl Symb) const { in printSymbolName()
74 uint32_t ObjectFile::getSymbolAlignment(DataRefImpl DRI) const { return 0; } in getSymbolAlignment()
76 bool ObjectFile::isSectionBitcode(DataRefImpl Sec) const { in isSectionBitcode()
84 bool ObjectFile::isSectionStripped(DataRefImpl Sec) const { return false; } in isSectionStripped()
86 bool ObjectFile::isBerkeleyText(DataRefImpl Sec) const { in isBerkeleyText()
90 bool ObjectFile::isBerkeleyData(DataRefImpl Sec) const { in isBerkeleyData()
95 ObjectFile::getRelocatedSection(DataRefImpl Sec) const { in getRelocatedSection()
[all …]
DObject.cpp23 inline OwningBinary<ObjectFile> *unwrap(LLVMObjectFileRef OF) { in unwrap()
24 return reinterpret_cast<OwningBinary<ObjectFile> *>(OF); in unwrap()
27 inline LLVMObjectFileRef wrap(const OwningBinary<ObjectFile> *OF) { in wrap()
29 const_cast<OwningBinary<ObjectFile> *>(OF)); in wrap()
140 Expected<std::unique_ptr<ObjectFile>> ObjOrErr( in LLVMMachOUniversalBinaryCopyObjectForArch()
150 auto OF = cast<ObjectFile>(unwrap(BR)); in LLVMObjectFileCopySectionIterator()
159 auto OF = cast<ObjectFile>(unwrap(BR)); in LLVMObjectFileIsSectionIteratorAtEnd()
164 auto OF = cast<ObjectFile>(unwrap(BR)); in LLVMObjectFileCopySymbolIterator()
173 auto OF = cast<ObjectFile>(unwrap(BR)); in LLVMObjectFileIsSymbolIteratorAtEnd()
180 Expected<std::unique_ptr<ObjectFile>> ObjOrErr( in LLVMCreateObjectFile()
[all …]
DSymbolicFile.cpp76 return ObjectFile::createObjectFile(Object, Type); in createSymbolicFile()
82 Expected<std::unique_ptr<ObjectFile>> Obj = in createSymbolicFile()
83 ObjectFile::createObjectFile(Object, Type); in createSymbolicFile()
DSymbolSize.cpp27 static unsigned getSectionID(const ObjectFile &O, SectionRef Sec) { in getSectionID()
33 static unsigned getSymbolSectionID(const ObjectFile &O, SymbolRef Sym) { in getSymbolSectionID()
40 llvm::object::computeSymbolSizes(const ObjectFile &O) { in computeSymbolSizes()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Object/
DObjectFile.h42 class ObjectFile; variable
54 const ObjectFile *OwningObject = nullptr;
58 RelocationRef(DataRefImpl RelocationP, const ObjectFile *Owner);
74 const ObjectFile *getObject() const;
85 const ObjectFile *OwningObject = nullptr;
89 SectionRef(DataRefImpl SectionP, const ObjectFile *Owner);
136 const ObjectFile *getObject() const;
176 SymbolRef(DataRefImpl SymbolP, const ObjectFile *Owner);
178 assert(isa<ObjectFile>(BasicSymbolRef::getObject())); in SymbolRef()
199 const ObjectFile *getObject() const;
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/Symbolize/
DSymbolize.h58 Expected<DILineInfo> symbolizeCode(const ObjectFile &Obj,
79 using ObjectPair = std::pair<const ObjectFile *, const ObjectFile *>;
93 createModuleInfo(const ObjectFile *Obj,
97 ObjectFile *lookUpDsymFile(const std::string &Path,
100 ObjectFile *lookUpDebuglinkObject(const std::string &Path,
101 const ObjectFile *Obj,
103 ObjectFile *lookUpBuildIDObject(const std::string &Path,
114 Expected<ObjectFile *> getOrCreateObject(const std::string &Path,
128 std::map<std::pair<std::string, std::string>, std::unique_ptr<ObjectFile>>
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/RuntimeDyld/
DRuntimeDyldCOFF.cpp38 OwningBinary<ObjectFile>
39 getObjectForDebug(const ObjectFile &Obj) const override { in getObjectForDebug()
40 return OwningBinary<ObjectFile>(); in getObjectForDebug()
65 RuntimeDyldCOFF::loadObject(const object::ObjectFile &O) { in loadObject()
81 bool RuntimeDyldCOFF::isCompatibleFile(const object::ObjectFile &Obj) const { in isCompatibleFile()
DRuntimeDyldMachO.h65 const ObjectFile &BaseTObj, in getRelocationEntry()
84 const ObjectFile &BaseObjT,
98 getRelocationValueRef(const ObjectFile &BaseTObj,
130 loadObject(const object::ObjectFile &O) override;
134 bool isCompatibleFile(const object::ObjectFile &Obj) const override;
158 Error finalizeLoad(const ObjectFile &Obj,
DRuntimeDyldImpl.h350 virtual void setMipsABI(const ObjectFile &Obj) { in setMipsABI()
378 Error emitCommonSymbols(const ObjectFile &Obj,
386 Expected<unsigned> emitSection(const ObjectFile &Obj,
395 Expected<unsigned> findOrEmitSection(const ObjectFile &Obj,
424 const ObjectFile &Obj, ObjSectionToIDMap &ObjSectionToID,
435 Error computeTotalAllocSize(const ObjectFile &Obj,
441 unsigned computeGOTSize(const ObjectFile &Obj);
444 unsigned computeSectionStubBufSize(const ObjectFile &Obj,
448 Expected<ObjSectionToIDMap> loadObjectImpl(const object::ObjectFile &Obj);
477 loadObject(const object::ObjectFile &Obj) = 0;
[all …]
DRuntimeDyldELF.h89 void setMipsABI(const ObjectFile &Obj) override;
173 loadObject(const object::ObjectFile &O) override;
178 const ObjectFile &Obj,
181 bool isCompatibleFile(const object::ObjectFile &Obj) const override;
183 Error finalizeLoad(const ObjectFile &Obj,
DRuntimeDyldMachO.cpp36 OwningBinary<ObjectFile>
37 getObjectForDebug(const ObjectFile &Obj) const override { in getObjectForDebug()
38 return OwningBinary<ObjectFile>(); in getObjectForDebug()
56 const ObjectFile &BaseObjT, in processScatteredVANILLA()
98 const ObjectFile &BaseTObj, const relocation_iterator &RI, in getRelocationValueRef()
222 bool RuntimeDyldMachO::isCompatibleFile(const object::ObjectFile &Obj) const { in isCompatibleFile()
228 RuntimeDyldMachOCRTPBase<Impl>::finalizeLoad(const ObjectFile &Obj, in finalizeLoad()
370 RuntimeDyldMachO::loadObject(const object::ObjectFile &O) { in loadObject()
DRuntimeDyldCOFF.h30 loadObject(const object::ObjectFile &Obj) override;
31 bool isCompatibleFile(const object::ObjectFile &Obj) const override;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm-c/
DObject.h209 void LLVMDisposeObjectFile(LLVMObjectFileRef ObjectFile);
212 LLVMSectionIteratorRef LLVMGetSections(LLVMObjectFileRef ObjectFile);
215 LLVMBool LLVMIsSectionIteratorAtEnd(LLVMObjectFileRef ObjectFile,
219 LLVMSymbolIteratorRef LLVMGetSymbols(LLVMObjectFileRef ObjectFile);
222 LLVMBool LLVMIsSymbolIteratorAtEnd(LLVMObjectFileRef ObjectFile,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/OProfileJIT/
DOProfileJITEventListener.cpp42 std::map<ObjectKey, OwningBinary<ObjectFile>> DebugObjects;
52 void notifyObjectLoaded(ObjectKey Key, const ObjectFile &Obj,
81 ObjectKey Key, const ObjectFile &Obj, in notifyObjectLoaded()
87 OwningBinary<ObjectFile> DebugObjOwner = L.getObjectForDebug(Obj); in notifyObjectLoaded()
88 const ObjectFile &DebugObj = *DebugObjOwner.getBinary(); in notifyObjectLoaded()
150 const ObjectFile &DebugObj = *DebugObjects[Key].getBinary(); in notifyFreeingObject()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/Symbolize/
DSymbolize.cpp62 LLVMSymbolizer::symbolizeCode(const ObjectFile &Obj, in symbolizeCode()
243 bool getGNUDebuglinkContents(const ObjectFile *Obj, std::string &DebugName, in getGNUDebuglinkContents()
362 ObjectFile *LLVMSymbolizer::lookUpDsymFile(const std::string &ExePath, in lookUpDsymFile()
379 ObjectFile *DbgObj = DbgObjOrErr.get(); in lookUpDsymFile()
391 ObjectFile *LLVMSymbolizer::lookUpDebuglinkObject(const std::string &Path, in lookUpDebuglinkObject()
392 const ObjectFile *Obj, in lookUpDebuglinkObject()
411 ObjectFile *LLVMSymbolizer::lookUpBuildIDObject(const std::string &Path, in lookUpBuildIDObject()
444 ObjectFile *Obj = ObjOrErr.get(); in getOrCreateObjectPair()
446 ObjectFile *DbgObj = nullptr; in getOrCreateObjectPair()
461 Expected<ObjectFile *>
[all …]
DSymbolizableObjectFile.h34 create(const object::ObjectFile *Obj, std::unique_ptr<DIContext> DICtx,
72 const object::ObjectFile *Module;
89 SymbolizableObjectFile(const object::ObjectFile *Obj,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ExecutionEngine/
DRuntimeDyld.h79 virtual object::OwningBinary<object::ObjectFile>
80 getObjectForDebug(const object::ObjectFile &Obj) const = 0;
166 const object::ObjectFile &Obj) {} in notifyObjectLoaded()
182 std::unique_ptr<LoadedObjectInfo> loadObject(const object::ObjectFile &O);
271 jitLinkForORC(object::ObjectFile &Obj,
296 object::ObjectFile &Obj, std::unique_ptr<MemoryBuffer> UnderlyingBuffer,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/
DGDBRegistrationListener.cpp69 OwningBinary<ObjectFile> Obj) in RegisteredObjectInfo()
74 OwningBinary<ObjectFile> Obj;
101 void notifyObjectLoaded(ObjectKey K, const ObjectFile &Obj,
150 ObjectKey K, const ObjectFile &Obj, in notifyObjectLoaded()
153 OwningBinary<ObjectFile> DebugObj = L.getObjectForDebug(Obj); in notifyObjectLoaded()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/IntelJITEvents/
DIntelJITEventListener.cpp49 std::map<ObjectKey, OwningBinary<ObjectFile>> DebugObjects;
59 void notifyObjectLoaded(ObjectKey Key, const ObjectFile &Obj,
99 ObjectKey Key, const ObjectFile &Obj, in notifyObjectLoaded()
102 OwningBinary<ObjectFile> DebugObjOwner = L.getObjectForDebug(Obj); in notifyObjectLoaded()
103 const ObjectFile *DebugObj = DebugObjOwner.getBinary(); in notifyObjectLoaded()
212 const ObjectFile &DebugObj = *DebugObjects[Key].getBinary(); in notifyFreeingObject()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ExecutionEngine/Orc/
DRTDyldObjectLinkingLayer.h42 std::function<void(VModuleKey, const object::ObjectFile &Obj,
120 object::ObjectFile &Obj,
197 std::function<void(VModuleKey, const object::ObjectFile &Obj,
202 std::function<void(VModuleKey, const object::ObjectFile &Obj,
206 using NotifyFreedFtor = std::function<void(VModuleKey, const object::ObjectFile &Obj)>;
209 using OwnedObject = object::OwningBinary<object::ObjectFile>;
394 object::ObjectFile::createObjectFile(ObjBuffer->getMemBufferRef()); in addObject()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/MCJIT/
DMCJIT.h191 SmallVector<std::unique_ptr<object::ObjectFile>, 2> LoadedObjects;
216 void addObjectFile(std::unique_ptr<object::ObjectFile> O) override;
217 void addObjectFile(object::OwningBinary<object::ObjectFile> O) override;
333 void notifyObjectLoaded(const object::ObjectFile &Obj,
335 void notifyFreeingObject(const object::ObjectFile &Obj);
DMCJIT.cpp116 void MCJIT::addObjectFile(std::unique_ptr<object::ObjectFile> Obj) { in addObjectFile()
126 void MCJIT::addObjectFile(object::OwningBinary<object::ObjectFile> Obj) { in addObjectFile()
127 std::unique_ptr<object::ObjectFile> ObjFile; in addObjectFile()
213 Expected<std::unique_ptr<object::ObjectFile>> LoadedObject = in generateCodeForModule()
214 object::ObjectFile::createObjectFile(ObjectToLoad->getMemBufferRef()); in generateCodeForModule()
359 std::unique_ptr<object::ObjectFile> OF( in findSymbol()
360 static_cast<object::ObjectFile *>(ChildBin.release())); in findSymbol()
650 void MCJIT::notifyObjectLoaded(const object::ObjectFile &Obj, in notifyObjectLoaded()
661 void MCJIT::notifyFreeingObject(const object::ObjectFile &Obj) { in notifyFreeingObject()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Remarks/
DRemarkLinker.cpp24 getRemarksSectionName(const object::ObjectFile &Obj) { in getRemarksSectionName()
33 llvm::remarks::getRemarksSectionContents(const object::ObjectFile &Obj) { in getRemarksSectionContents()
102 Error RemarkLinker::link(const object::ObjectFile &Obj, in link()

1234