Home
last modified time | relevance | path

Searched refs:OwningBinary (Results 1 – 25 of 32) sorted by relevance

12

/external/llvm/include/llvm/Object/
DBinary.h140 template <typename T> class OwningBinary {
145 OwningBinary();
146 OwningBinary(std::unique_ptr<T> Bin, std::unique_ptr<MemoryBuffer> Buf);
147 OwningBinary(OwningBinary<T>&& Other);
148 OwningBinary<T> &operator=(OwningBinary<T> &&Other);
157 OwningBinary<T>::OwningBinary(std::unique_ptr<T> Bin, in OwningBinary() function
161 template <typename T> OwningBinary<T>::OwningBinary() {} in OwningBinary() function
164 OwningBinary<T>::OwningBinary(OwningBinary &&Other) in OwningBinary() function
168 OwningBinary<T> &OwningBinary<T>::operator=(OwningBinary &&Other) {
176 OwningBinary<T>::takeBinary() { in takeBinary()
[all …]
DSymbolicFile.h164 static ErrorOr<OwningBinary<SymbolicFile>>
DObjectFile.h276 static ErrorOr<OwningBinary<ObjectFile>>
/external/llvm/lib/Object/
DObject.cpp22 inline OwningBinary<ObjectFile> *unwrap(LLVMObjectFileRef OF) { in unwrap()
23 return reinterpret_cast<OwningBinary<ObjectFile> *>(OF); in unwrap()
26 inline LLVMObjectFileRef wrap(const OwningBinary<ObjectFile> *OF) { in wrap()
28 const_cast<OwningBinary<ObjectFile> *>(OF)); in wrap()
70 auto *Ret = new OwningBinary<ObjectFile>(std::move(ObjOrErr.get()), std::move(Buf)); in LLVMCreateObjectFile()
80 OwningBinary<ObjectFile> *OB = unwrap(OF); in LLVMGetSections()
91 OwningBinary<ObjectFile> *OB = unwrap(OF); in LLVMIsSectionIteratorAtEnd()
109 OwningBinary<ObjectFile> *OB = unwrap(OF); in LLVMGetSymbols()
120 OwningBinary<ObjectFile> *OB = unwrap(OF); in LLVMIsSymbolIteratorAtEnd()
DBinary.cpp77 ErrorOr<OwningBinary<Binary>> object::createBinary(StringRef Path) { in createBinary()
90 return OwningBinary<Binary>(std::move(Bin), std::move(Buffer)); in createBinary()
DObjectFile.cpp101 ErrorOr<OwningBinary<ObjectFile>>
115 return OwningBinary<ObjectFile>(std::move(Obj), std::move(Buffer)); in createObjectFile()
/external/llvm/include/llvm/ExecutionEngine/Orc/
DIRCompileLayer.h34 typedef std::function<object::OwningBinary<object::ObjectFile>(Module &)>
123 object::OwningBinary<object::ObjectFile>
127 return object::OwningBinary<object::ObjectFile>(); in tryToLoadFromObjectCache()
132 return object::OwningBinary<object::ObjectFile>(); in tryToLoadFromObjectCache()
134 return object::OwningBinary<object::ObjectFile>(std::move(*Obj), in tryToLoadFromObjectCache()
DCompileUtils.h34 object::OwningBinary<object::ObjectFile> operator()(Module &M) const { in operator()
48 typedef object::OwningBinary<object::ObjectFile> OwningObj; in operator()
/external/llvm/lib/ExecutionEngine/RuntimeDyld/
DRuntimeDyldCOFF.cpp34 OwningBinary<ObjectFile>
36 return OwningBinary<ObjectFile>(); in getObjectForDebug()
DRuntimeDyldMachO.cpp36 OwningBinary<ObjectFile>
38 return OwningBinary<ObjectFile>(); in getObjectForDebug()
DRuntimeDyldELF.cpp112 OwningBinary<ObjectFile>
150 OwningBinary<ObjectFile> createELFDebugObject(const ObjectFile &Obj, in createELFDebugObject()
181 return OwningBinary<ObjectFile>(std::move(DebugObj), std::move(Buffer)); in createELFDebugObject()
184 OwningBinary<ObjectFile>
/external/llvm/lib/ExecutionEngine/
DGDBRegistrationListener.cpp69 OwningBinary<ObjectFile> Obj) in RegisteredObjectInfo()
84 OwningBinary<ObjectFile> Obj;
163 OwningBinary<ObjectFile> DebugObj = L.getObjectForDebug(Object); in NotifyObjectEmitted()
/external/llvm/lib/ExecutionEngine/OProfileJIT/
DOProfileJITEventListener.cpp41 std::map<const char*, OwningBinary<ObjectFile>> DebugObjects;
85 OwningBinary<ObjectFile> DebugObjOwner = L.getObjectForDebug(Obj); in NotifyObjectEmitted()
/external/llvm/lib/ExecutionEngine/MCJIT/
DMCJIT.h190 SmallVector<object::OwningBinary<object::Archive>, 2> Archives;
219 void addObjectFile(object::OwningBinary<object::ObjectFile> O) override;
220 void addArchive(object::OwningBinary<object::Archive> O) override;
DMCJIT.cpp124 void MCJIT::addObjectFile(object::OwningBinary<object::ObjectFile> Obj) { in addObjectFile()
132 void MCJIT::addArchive(object::OwningBinary<object::Archive> A) { in addArchive()
317 for (object::OwningBinary<object::Archive> &OB : Archives) { in findSymbol()
/external/llvm/lib/ExecutionEngine/Orc/
DOrcMCJITReplacement.h172 void addObjectFile(object::OwningBinary<object::ObjectFile> O) override { in addObjectFile()
181 void addArchive(object::OwningBinary<object::Archive> A) override { in addArchive()
251 for (object::OwningBinary<object::Archive> &OB : Archives) { in scanArchives()
351 std::vector<object::OwningBinary<object::Archive>> Archives;
/external/llvm/include/llvm/ExecutionEngine/
DRuntimeDyld.h30 template <typename T> class OwningBinary; variable
69 virtual object::OwningBinary<object::ObjectFile>
DExecutionEngine.h188 virtual void addObjectFile(object::OwningBinary<object::ObjectFile> O);
196 virtual void addArchive(object::OwningBinary<object::Archive> A);
/external/llvm/lib/ExecutionEngine/IntelJITEvents/
DIntelJITEventListener.cpp49 std::map<const char*, OwningBinary<ObjectFile>> DebugObjects;
102 OwningBinary<ObjectFile> DebugObjOwner = L.getObjectForDebug(Obj); in NotifyObjectEmitted()
/external/llvm/tools/obj2yaml/
Dobj2yaml.cpp32 ErrorOr<OwningBinary<Binary>> BinaryOrErr = createBinary(File); in dumpInput()
/external/llvm/tools/lli/
Dlli.cpp504 ErrorOr<object::OwningBinary<object::ObjectFile>> Obj = in main()
510 object::OwningBinary<object::ObjectFile> &O = Obj.get(); in main()
531 object::OwningBinary<object::Archive> OB(std::move(Ar), std::move(ArBuf)); in main()
/external/llvm/include/llvm/DebugInfo/Symbolize/
DSymbolize.h92 std::map<std::string, ErrorOr<OwningBinary<Binary>>> BinaryForPath;
/external/llvm/include/llvm/DebugInfo/DWARF/
DDWARFUnit.h132 object::OwningBinary<object::ObjectFile> DWOFile;
/external/llvm/tools/llvm-readobj/
Dllvm-readobj.cpp416 ErrorOr<OwningBinary<Binary>> BinaryOrErr = createBinary(File); in dumpInput()
/external/llvm/lib/DebugInfo/Symbolize/
DSymbolize.cpp294 ErrorOr<OwningBinary<Binary>> BinOrErr = createBinary(Path); in getOrCreateObject()

12