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.cpp60 if ((!ObjFile.getBinary()->isELF() && !ObjFile.getBinary()->isMachO()) || in loadObj()
61 !(ObjFile.getBinary()->getArch() == Triple::x86_64 || in loadObj()
62 ObjFile.getBinary()->getArch() == Triple::loongarch64 || 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()
66 ObjFile.getBinary()->getArch() == Triple::riscv64)) in loadObj()
73 const auto &Sections = ObjFile.getBinary()->sections(); in loadObj()
94 if (ObjFile.getBinary()->isELF()) { in loadObj()
109 }(ObjFile.getBinary()); in loadObj()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Object/
H A DOffloadBinary.h171 getBinary()->getMemoryBufferRef().getBuffer(), in copy()
172 getBinary()->getMemoryBufferRef().getBufferIdentifier()); in copy()
185 return std::make_pair(getBinary()->getTriple(), getBinary()->getArch()); in TargetID()
H A DBinary.h209 T* getBinary();
210 const T* getBinary() const;
237 template <typename T> T* OwningBinary<T>::getBinary() { in getBinary() function
241 template <typename T> const T* OwningBinary<T>::getBinary() const { in getBinary() function
H A DMachOUniversalWriter.h68 const Binary *getBinary() const { return B; } in getBinary() function
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/
H A DGDBRegistrationListener.cpp171 if (!DebugObj.getBinary()) in notifyObjectLoaded()
174 const char *Buffer = DebugObj.getBinary()->getMemoryBufferRef().getBufferStart(); in notifyObjectLoaded()
175 size_t Size = DebugObj.getBinary()->getMemoryBufferRef().getBufferSize(); in notifyObjectLoaded()
/freebsd/contrib/llvm-project/llvm/lib/Object/
H A DObject.cpp202 section_iterator SI = OB->getBinary()->section_begin(); in LLVMGetSections()
213 return (*unwrap(SI) == OB->getBinary()->section_end()) ? 1 : 0; in LLVMIsSectionIteratorAtEnd()
235 symbol_iterator SI = OB->getBinary()->symbol_begin(); in LLVMGetSymbols()
246 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());
H A DOffloadBundle.cpp243 auto Obj = ObjOrErr->getBinary(); in extractOffloadBundleByURI()
/freebsd/contrib/llvm-project/llvm/tools/llvm-objdump/
H A DOffloadDump.cpp69 printBinary(*Binaries[I].getBinary(), I); in dumpOffloadBinary()
120 printBinary(*Binaries[I].getBinary(), I); in dumpOffloadSections()
/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/lib/ProfileData/
H A DMemProfReader.cpp351 const StringRef FileName = Binary.getBinary()->getFileName(); in initialize()
353 auto *ElfObject = dyn_cast<object::ELFObjectFileBase>(Binary.getBinary()); in initialize()
412 auto *Object = cast<object::ObjectFile>(Binary.getBinary()); in initialize()
433 auto *Object = cast<object::ObjectFile>(Binary.getBinary()); in setupForSymbolization()
437 Binary.getBinary()->getFileName(), in setupForSymbolization()
458 Binary.getBinary()->getFileName(), in setupForSymbolization()
/freebsd/contrib/llvm-project/llvm/tools/llvm-objcopy/
H A Dllvm-objcopy.cpp163 if (Archive *Ar = dyn_cast<Archive>(BinaryHolder.getBinary())) { in executeObjcopy()
170 return executeObjcopyOnBinary(ConfigMgr, *BinaryHolder.getBinary(), in executeObjcopy()
/freebsd/contrib/llvm-project/llvm/tools/llvm-dwp/
H A Dllvm-dwp.cpp83 const ObjectFile &Obj = *ErrOrObj.get().getBinary(); in getDWOFilenames()
120 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.cpp575 Bin = Pair.first->second->getBinary(); in getOrCreateObject()
587 Bin = CachedBin->getBinary(); in getOrCreateObject()
836 if (Bin->getBinary()) in recordAccess()
/freebsd/contrib/llvm-project/llvm/tools/llvm-dwarfutil/
H A Dllvm-dwarfutil.cpp201 if (BinOrErr->getBinary()->isObject()) { in verifyOutput()
202 if (ObjectFile *Obj = static_cast<ObjectFile *>(BinOrErr->getBinary())) { in verifyOutput()
/freebsd/contrib/llvm-project/llvm/lib/BinaryFormat/
H A DMsgPackDocument.cpp294 MPWriter.write(Node.getBinary()); in writeToBlob()
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/Symbolize/
H A DSymbolize.h256 size_t size() { return Bin.getBinary()->getData().size(); } in size()
/freebsd/contrib/llvm-project/llvm/lib/ObjCopy/MachO/
H A DMachOObjcopy.cpp553 Slices.emplace_back(*cast<Archive>(Binaries.back().getBinary()), in executeObjcopyOnMachOUniversalBinary()
593 Slices.emplace_back(*cast<MachOObjectFile>(Binaries.back().getBinary()), in executeObjcopyOnMachOUniversalBinary()
/freebsd/contrib/llvm-project/llvm/tools/llvm-tli-checker/
H A Dllvm-tli-checker.cpp238 Binary &Binary = *OBinary.getBinary(); in populateFromFile()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/PerfJITEvents/
H A DPerfJITEventListener.cpp240 const ObjectFile &DebugObj = *DebugObjOwner.getBinary(); in notifyObjectLoaded()
/freebsd/contrib/llvm-project/llvm/include/llvm/BinaryFormat/
H A DMsgPackDocument.h128 MemoryBufferRef getBinary() const { in getBinary() function
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/
H A DNativeSession.cpp137 dyn_cast<object::COFFObjectFile>(BinaryFile->getBinary()); in getPdbPathFromExe()
H A DInputFile.cpp318 IF.PdbOrObj = llvm::cast<COFFObjectFile>(IF.CoffObject.getBinary()); in open()

12