Home
last modified time | relevance | path

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

12

/freebsd-12.1/contrib/llvm/include/llvm/Object/
H A DBinary.h165 template <typename T> class OwningBinary {
170 OwningBinary();
172 OwningBinary(OwningBinary<T>&& Other);
173 OwningBinary<T> &operator=(OwningBinary<T> &&Other);
182 OwningBinary<T>::OwningBinary(std::unique_ptr<T> Bin, in OwningBinary() function
186 template <typename T> OwningBinary<T>::OwningBinary() = default;
189 OwningBinary<T>::OwningBinary(OwningBinary &&Other) in OwningBinary() function
193 OwningBinary<T> &OwningBinary<T>::operator=(OwningBinary &&Other) {
201 OwningBinary<T>::takeBinary() { in takeBinary()
205 template <typename T> T* OwningBinary<T>::getBinary() { in getBinary()
[all …]
H A DSymbolicFile.h173 static Expected<OwningBinary<SymbolicFile>>
/freebsd-12.1/contrib/llvm/lib/Object/
H A 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()
73 auto *Ret = new OwningBinary<ObjectFile>(std::move(ObjOrErr.get()), std::move(Buf)); in LLVMCreateObjectFile()
83 OwningBinary<ObjectFile> *OB = unwrap(OF); in LLVMGetSections()
94 OwningBinary<ObjectFile> *OB = unwrap(OF); in LLVMIsSectionIteratorAtEnd()
117 OwningBinary<ObjectFile> *OB = unwrap(OF); in LLVMGetSymbols()
128 OwningBinary<ObjectFile> *OB = unwrap(OF); in LLVMIsSymbolIteratorAtEnd()
H A DBinary.cpp89 Expected<OwningBinary<Binary>> object::createBinary(StringRef Path) { in createBinary()
103 return OwningBinary<Binary>(std::move(Bin), std::move(Buffer)); in createBinary()
H A DObjectFile.cpp160 Expected<OwningBinary<ObjectFile>>
174 return OwningBinary<ObjectFile>(std::move(Obj), std::move(Buffer)); in createObjectFile()
/freebsd-12.1/contrib/llvm/lib/ExecutionEngine/
H A DGDBRegistrationListener.cpp70 OwningBinary<ObjectFile> Obj) in RegisteredObjectInfo()
75 OwningBinary<ObjectFile> Obj;
154 OwningBinary<ObjectFile> DebugObj = L.getObjectForDebug(Obj); in notifyObjectLoaded()
/freebsd-12.1/contrib/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyldCOFF.cpp38 OwningBinary<ObjectFile>
40 return OwningBinary<ObjectFile>(); in getObjectForDebug()
H A DRuntimeDyldMachO.cpp37 OwningBinary<ObjectFile>
39 return OwningBinary<ObjectFile>(); in getObjectForDebug()
H A DRuntimeDyldELF.cpp143 OwningBinary<ObjectFile>
183 static OwningBinary<ObjectFile>
208 return OwningBinary<ObjectFile>(std::move(*DebugObj), std::move(Buffer)); in createELFDebugObject()
211 OwningBinary<ObjectFile>
/freebsd-12.1/contrib/llvm/lib/ExecutionEngine/MCJIT/
H A DMCJIT.h189 SmallVector<object::OwningBinary<object::Archive>, 2> Archives;
218 void addObjectFile(object::OwningBinary<object::ObjectFile> O) override;
219 void addArchive(object::OwningBinary<object::Archive> O) override;
H A DMCJIT.cpp127 void MCJIT::addObjectFile(object::OwningBinary<object::ObjectFile> Obj) { in addObjectFile()
135 void MCJIT::addArchive(object::OwningBinary<object::Archive> A) { in addArchive()
342 for (object::OwningBinary<object::Archive> &OB : Archives) { in findSymbol()
/freebsd-12.1/contrib/llvm/lib/ExecutionEngine/OProfileJIT/
H A DOProfileJITEventListener.cpp43 std::map<ObjectKey, OwningBinary<ObjectFile>> DebugObjects;
88 OwningBinary<ObjectFile> DebugObjOwner = L.getObjectForDebug(Obj); in notifyObjectLoaded()
/freebsd-12.1/contrib/llvm/include/llvm/ExecutionEngine/
H A DRuntimeDyld.h36 template <typename T> class OwningBinary; variable
78 virtual object::OwningBinary<object::ObjectFile>
H A DExecutionEngine.h188 virtual void addObjectFile(object::OwningBinary<object::ObjectFile> O);
196 virtual void addArchive(object::OwningBinary<object::Archive> A);
/freebsd-12.1/contrib/llvm/lib/ExecutionEngine/Orc/
H A DOrcMCJITReplacement.h307 void addObjectFile(object::OwningBinary<object::ObjectFile> O) override { in addObjectFile()
314 void addArchive(object::OwningBinary<object::Archive> A) override { in addArchive()
396 for (object::OwningBinary<object::Archive> &OB : Archives) { in scanArchives()
498 std::vector<object::OwningBinary<object::Archive>> Archives;
/freebsd-12.1/contrib/llvm/lib/ExecutionEngine/IntelJITEvents/
H A DIntelJITEventListener.cpp50 std::map<ObjectKey, OwningBinary<ObjectFile>> DebugObjects;
103 OwningBinary<ObjectFile> DebugObjOwner = L.getObjectForDebug(Obj); in notifyObjectLoaded()
/freebsd-12.1/contrib/llvm/include/llvm/DebugInfo/Symbolize/
H A DSymbolize.h110 std::map<std::string, OwningBinary<Binary>> BinaryForPath;
/freebsd-12.1/contrib/llvm/tools/llvm-pdbutil/
H A DInputFile.h45 object::OwningBinary<object::Binary> CoffObject;
/freebsd-12.1/contrib/llvm/lib/DebugInfo/Symbolize/
H A DSymbolize.cpp335 Expected<OwningBinary<Binary>> BinOrErr = createBinary(Path); in getOrCreateObject()
337 BinaryForPath.insert(std::make_pair(Path, OwningBinary<Binary>())); in getOrCreateObject()
/freebsd-12.1/contrib/llvm/tools/lli/
H A Dlli.cpp485 Expected<object::OwningBinary<object::ObjectFile>> Obj = in main()
492 object::OwningBinary<object::ObjectFile> &O = Obj.get(); in main()
515 object::OwningBinary<object::Archive> OB(std::move(Ar), std::move(ArBuf)); in main()
/freebsd-12.1/contrib/llvm/tools/llvm-objcopy/
H A Dllvm-objcopy.cpp202 Expected<OwningBinary<llvm::object::Binary>> BinaryOrErr = in executeObjcopy()
/freebsd-12.1/contrib/llvm/include/llvm/DebugInfo/DWARF/
H A DDWARFContext.h85 object::OwningBinary<object::ObjectFile> File;
/freebsd-12.1/contrib/llvm/lib/XRay/
H A DInstrumentationMap.cpp54 loadObj(StringRef Filename, object::OwningBinary<object::ObjectFile> &ObjFile, in loadObj()
/freebsd-12.1/contrib/llvm/lib/ExecutionEngine/PerfJITEvents/
H A DPerfJITEventListener.cpp237 OwningBinary<ObjectFile> DebugObjOwner = L.getObjectForDebug(Obj); in notifyObjectLoaded()
/freebsd-12.1/contrib/llvm/include/llvm/ExecutionEngine/Orc/
H A DRTDyldObjectLinkingLayer.h195 using OwnedObject = object::OwningBinary<object::ObjectFile>;

12