Home
last modified time | relevance | path

Searched refs:getBinary (Results 1 – 25 of 27) sorted by relevance

12

/freebsd-13.1/contrib/llvm-project/llvm/lib/XRay/
H A DInstrumentationMap.cpp61 if ((!ObjFile.getBinary()->isELF() && !ObjFile.getBinary()->isMachO()) || in loadObj()
62 !(ObjFile.getBinary()->getArch() == Triple::x86_64 || in loadObj()
63 ObjFile.getBinary()->getArch() == Triple::ppc64le || in loadObj()
64 ObjFile.getBinary()->getArch() == Triple::arm || in loadObj()
65 ObjFile.getBinary()->getArch() == Triple::aarch64)) in loadObj()
72 const auto &Sections = ObjFile.getBinary()->sections(); in loadObj()
95 if (ObjFile.getBinary()->isELF()) { in loadObj()
110 }(ObjFile.getBinary()); in loadObj()
115 object::getRelocationResolver(*ObjFile.getBinary()); in loadObj()
119 if (ObjFile.getBinary()->getArch() == Triple::arm) { in loadObj()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Object/
H A DBinary.h199 T* getBinary();
200 const T* getBinary() const;
227 template <typename T> T* OwningBinary<T>::getBinary() { in getBinary() function
231 template <typename T> const T* OwningBinary<T>::getBinary() const { in getBinary() function
H A DMachOUniversalWriter.h59 const Binary *getBinary() const { return B; } in getBinary() function
/freebsd-13.1/contrib/llvm-project/llvm/lib/ExecutionEngine/
H A DGDBRegistrationListener.cpp163 if (!DebugObj.getBinary()) in notifyObjectLoaded()
166 const char *Buffer = DebugObj.getBinary()->getMemoryBufferRef().getBufferStart(); in notifyObjectLoaded()
167 size_t Size = DebugObj.getBinary()->getMemoryBufferRef().getBufferSize(); in notifyObjectLoaded()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Object/
H A DObject.cpp200 section_iterator SI = OB->getBinary()->section_begin(); in LLVMGetSections()
211 return (*unwrap(SI) == OB->getBinary()->section_end()) ? 1 : 0; in LLVMIsSectionIteratorAtEnd()
234 symbol_iterator SI = OB->getBinary()->symbol_begin(); in LLVMGetSymbols()
245 return (*unwrap(SI) == OB->getBinary()->symbol_end()) ? 1 : 0; in LLVMIsSymbolIteratorAtEnd()
H A DMachOUniversalWriter.cpp249 Twine(Offset) + " for " + S.getBinary()->getFileName() + in buildFatArchList()
258 FatArch.size = S.getBinary()->getMemoryBufferRef().getBufferSize(); in buildFatArchList()
296 MemoryBufferRef BufferRef = Slices[Index].getBinary()->getMemoryBufferRef(); in writeUniversalBinaryToStream()
310 return sys::fs::can_execute(S.getBinary()->getFileName()); in writeUniversalBinary()
/freebsd-13.1/contrib/llvm-project/llvm/lib/ExecutionEngine/OProfileJIT/
H A DOProfileJITEventListener.cpp88 const ObjectFile &DebugObj = *DebugObjOwner.getBinary(); in notifyObjectLoaded()
150 const ObjectFile &DebugObj = *DebugObjects[Key].getBinary(); in notifyFreeingObject()
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-dwp/
H A Dllvm-dwp.cpp56 const ObjectFile &Obj = *ErrOrObj.get().getBinary(); in getDWOFilenames()
90 return ErrOrObj->getBinary()->makeTriple(); in readTargetTriple()
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-cov/
H A DTestingSupport.cpp42 ObjectFile *OF = ObjErr.get().getBinary(); in convertForTestingMain()
/freebsd-13.1/contrib/llvm-project/llvm/lib/ExecutionEngine/IntelJITEvents/
H A DIntelJITEventListener.cpp231 const ObjectFile *DebugObj = DebugObjOwner.getBinary(); in notifyObjectLoaded()
354 const ObjectFile &DebugObj = *DebugObjects[Key].getBinary(); in notifyFreeingObject()
/freebsd-13.1/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DExecutionUtils.cpp289 if (isa<object::Archive>(B->getBinary())) in Load()
294 if (auto *UB = cast<object::MachOUniversalBinary>(B->getBinary())) { in Load()
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-objcopy/
H A Dllvm-objcopy.cpp356 if (Archive *Ar = dyn_cast<Archive>(BinaryHolder.getBinary())) { in executeObjcopy()
363 return executeObjcopyOnBinary(ConfigMgr, *BinaryHolder.getBinary(), in executeObjcopy()
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-objcopy/MachO/
H A DMachOObjcopy.cpp432 Slices.emplace_back(*cast<Archive>(Binaries.back().getBinary()), in executeObjcopyOnMachOUniversalBinary()
473 Slices.emplace_back(*cast<MachOObjectFile>(Binaries.back().getBinary()), in executeObjcopyOnMachOUniversalBinary()
/freebsd-13.1/contrib/llvm-project/llvm/lib/DebugInfo/Symbolize/
H A DSymbolize.cpp503 Bin = Pair.first->second.getBinary(); in getOrCreateObject()
509 Bin = Pair.first->second.getBinary(); in getOrCreateObject()
/freebsd-13.1/contrib/llvm-project/llvm/lib/ExecutionEngine/PerfJITEvents/
H A DPerfJITEventListener.cpp238 const ObjectFile &DebugObj = *DebugObjOwner.getBinary(); in notifyObjectLoaded()
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-pdbutil/
H A DInputFile.cpp271 IF.PdbOrObj = llvm::cast<COFFObjectFile>(IF.CoffObject.getBinary()); in open()
/freebsd-13.1/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/
H A DNativeSession.cpp130 dyn_cast<object::COFFObjectFile>(BinaryFile->getBinary()); in getPdbPathFromExe()
/freebsd-13.1/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyld.cpp1433 auto Info = RTDyld.loadObject(*O.getBinary()); in jitLinkForORC()
1442 if (auto Err = OnLoaded(*O.getBinary(), *Info, RTDyld.getSymbolTable())) in jitLinkForORC()
/freebsd-13.1/contrib/llvm-project/llvm/lib/ExecutionEngine/MCJIT/
H A DMCJIT.cpp348 object::Archive *A = OB.getBinary(); in findSymbol()
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-cxxdump/
H A Dllvm-cxxdump.cpp534 Binary &Binary = *BinaryOrErr.get().getBinary(); in dumpInput()
/freebsd-13.1/contrib/llvm-project/llvm/lib/DWP/
H A DDWP.cpp578 auto &Obj = *ErrOrObj->getBinary(); in write()
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-rtdyld/
H A Dllvm-rtdyld.cpp411 SymbolObj = DebugObj.getBinary(); in printLineInfoForInput()
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-size/
H A Dllvm-size.cpp552 Binary &Bin = *BinaryOrErr.get().getBinary(); in printFileSectionSizes()
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/
H A DSymbolFileNativePDB.cpp102 auto *obj = llvm::dyn_cast<llvm::object::COFFObjectFile>(binary.getBinary()); in loadMatchingPDBFile()
/freebsd-13.1/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/
H A DDWARFContext.cpp1414 S->Context = DWARFContext::create(*S->File.getBinary()); in getDWOContext()

12