Home
last modified time | relevance | path

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

12

/freebsd/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::loongarch64 || in loadObj()
64 ObjFile.getBinary()->getArch() == Triple::ppc64le || in loadObj()
65 ObjFile.getBinary()->getArch() == Triple::arm || in loadObj()
66 ObjFile.getBinary()->getArch() == Triple::aarch64)) in loadObj()
73 const auto &Sections = ObjFile.getBinary()->sections(); in loadObj()
94 if (ObjFile.getBinary()->isELF()) { in loadObj()
109 }(ObjFile.getBinary()); in loadObj()
114 object::getRelocationResolver(*ObjFile.getBinary()); in loadObj()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Object/
H A DBinary.h208 T* getBinary();
209 const T* getBinary() const;
236 template <typename T> T* OwningBinary<T>::getBinary() { in getBinary() function
240 template <typename T> const T* OwningBinary<T>::getBinary() const { in getBinary() function
H A DOffloadBinary.h168 getBinary()->getMemoryBufferRef().getBuffer()); in TargetID()
181 return std::make_pair(getBinary()->getTriple(), getBinary()->getArch());
H A DMachOUniversalWriter.h66 const Binary *getBinary() const { return B; } in getBinary() function
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/
H A DGDBRegistrationListener.cpp172 if (!DebugObj.getBinary()) in notifyObjectLoaded()
175 const char *Buffer = DebugObj.getBinary()->getMemoryBufferRef().getBufferStart(); in notifyObjectLoaded()
176 size_t Size = DebugObj.getBinary()->getMemoryBufferRef().getBufferSize(); in notifyObjectLoaded()
/freebsd/contrib/llvm-project/llvm/tools/llvm-objdump/
H A DOffloadDump.cpp66 printBinary(*Binaries[I].getBinary(), I); in dumpOffloadBinary()
79 printBinary(*Binaries[I].getBinary(), I); in dumpOffloadSections()
/freebsd/contrib/llvm-project/llvm/lib/Object/
H A DObject.cpp203 section_iterator SI = OB->getBinary()->section_begin(); in LLVMGetSections()
214 return (*unwrap(SI) == OB->getBinary()->section_end()) ? 1 : 0; in LLVMIsSectionIteratorAtEnd()
236 symbol_iterator SI = OB->getBinary()->symbol_begin(); in LLVMGetSymbols()
247 return (*unwrap(SI) == OB->getBinary()->symbol_end()) ? 1 : 0; in LLVMIsSymbolIteratorAtEnd()
H A DMachOUniversalWriter.cpp275 Twine(Offset) + " for " + S.getBinary()->getFileName() + in writeUniversalBinaryToStream()
284 FatArch.size = S.getBinary()->getMemoryBufferRef().getBufferSize(); in writeUniversalBinaryToStream()
320 MemoryBufferRef BufferRef = Slices[Index].getBinary()->getMemoryBufferRef(); in writeUniversalBinary()
356 return sys::fs::can_execute(S.getBinary()->getFileName());
/freebsd/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/contrib/llvm-project/llvm/tools/llvm-objcopy/
H A Dllvm-objcopy.cpp177 if (Archive *Ar = dyn_cast<Archive>(BinaryHolder.getBinary())) { in executeObjcopy()
184 return executeObjcopyOnBinary(ConfigMgr, *BinaryHolder.getBinary(), in executeObjcopy()
/freebsd/contrib/llvm-project/llvm/lib/ProfileData/
H A DMemProfReader.cpp368 const StringRef FileName = Binary.getBinary()->getFileName(); in initialize()
370 auto *ElfObject = dyn_cast<object::ELFObjectFileBase>(Binary.getBinary()); in initialize()
429 auto *Object = cast<object::ObjectFile>(Binary.getBinary()); in initialize()
450 auto *Object = cast<object::ObjectFile>(Binary.getBinary()); in setupForSymbolization()
454 Binary.getBinary()->getFileName(), in setupForSymbolization()
/freebsd/contrib/llvm-project/llvm/tools/llvm-dwp/
H A Dllvm-dwp.cpp81 const ObjectFile &Obj = *ErrOrObj.get().getBinary(); in getDWOFilenames()
118 return ErrOrObj->getBinary()->makeTriple(); in readTargetTriple()
/freebsd/contrib/llvm-project/llvm/tools/llvm-cov/
H A DTestingSupport.cpp45 ObjectFile *OF = ObjErr.get().getBinary(); in convertForTestingMain()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/IntelJITEvents/
H A DIntelJITEventListener.cpp232 const ObjectFile *DebugObj = DebugObjOwner.getBinary(); in notifyObjectLoaded()
355 const ObjectFile &DebugObj = *DebugObjects[Key].getBinary(); in notifyFreeingObject()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/Symbolize/
H A DSymbolize.cpp542 Bin = Pair.first->second->getBinary(); in getOrCreateObject()
554 Bin = CachedBin->getBinary(); in getOrCreateObject()
784 if (Bin->getBinary()) in recordAccess()
/freebsd/contrib/llvm-project/llvm/tools/llvm-dwarfutil/
H A Dllvm-dwarfutil.cpp199 if (BinOrErr->getBinary()->isObject()) { in verifyOutput()
200 if (ObjectFile *Obj = static_cast<ObjectFile *>(BinOrErr->getBinary())) { in verifyOutput()
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/Symbolize/
H A DSymbolize.h251 size_t size() { return Bin.getBinary()->getData().size(); }
/freebsd/contrib/llvm-project/llvm/lib/ObjCopy/MachO/
H A DMachOObjcopy.cpp515 Slices.emplace_back(*cast<Archive>(Binaries.back().getBinary()), in executeObjcopyOnMachOUniversalBinary()
555 Slices.emplace_back(*cast<MachOObjectFile>(Binaries.back().getBinary()),
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DExecutionUtils.cpp284 if (isa<object::Archive>(B->getBinary())) { in Load()
294 if (auto *UB = dyn_cast<object::MachOUniversalBinary>(B->getBinary())) { in Load()
/freebsd/contrib/llvm-project/llvm/lib/BinaryFormat/
H A DMsgPackDocument.cpp294 MPWriter.write(Node.getBinary()); in writeToBlob()
/freebsd/contrib/llvm-project/llvm/tools/llvm-tli-checker/
H A Dllvm-tli-checker.cpp236 Binary &Binary = *OBinary.getBinary(); in populateFromFile()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/PerfJITEvents/
H A DPerfJITEventListener.cpp237 const ObjectFile &DebugObj = *DebugObjOwner.getBinary(); in notifyObjectLoaded()
/freebsd/contrib/llvm-project/llvm/include/llvm/BinaryFormat/
H A DMsgPackDocument.h127 MemoryBufferRef getBinary() const { in getBinary() function
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/
H A DNativeSession.cpp139 dyn_cast<object::COFFObjectFile>(BinaryFile->getBinary()); in getPdbPathFromExe()
H A DInputFile.cpp318 IF.PdbOrObj = llvm::cast<COFFObjectFile>(IF.CoffObject.getBinary()); in open()

12