Home
last modified time | relevance | path

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

12

/llvm-project-15.0.7/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()
93 if (ObjFile.getBinary()->isELF()) { in loadObj()
108 }(ObjFile.getBinary()); in loadObj()
113 object::getRelocationResolver(*ObjFile.getBinary()); in loadObj()
117 if (ObjFile.getBinary()->getArch() == Triple::arm) { in loadObj()
[all …]
/llvm-project-15.0.7/llvm/tools/llvm-lipo/
H A Dllvm-lipo.cpp326 const Binary *B = BinaryOrErr->getBinary(); in readInputBinaries()
448 const Binary *Binary = IB.getBinary(); in printInfo()
456 const Binary *Binary = IB.getBinary(); in printInfo()
475 if (InputBinaries.front().getBinary()->isMachO()) { in thinSlice()
477 InputBinaries.front().getBinary()->getFileName() + in thinSlice()
521 auto Entry = CPUIds.try_emplace(S.getCPUID(), S.getBinary()); in checkArchDuplicates()
524 S.getBinary()->getFileName() + in checkArchDuplicates()
561 const Binary *InputBinary = IB.getBinary(); in buildSlices()
632 if (InputBinaries.front().getBinary()->isMachO()) { in extractSlice()
663 const Binary *ReplacementBinary = OB.getBinary(); in buildReplacementSlices()
[all …]
/llvm-project-15.0.7/llvm/include/llvm/Object/
H A DBinary.h203 T* getBinary();
204 const T* getBinary() const;
231 template <typename T> T* OwningBinary<T>::getBinary() { in getBinary() function
235 template <typename T> const T* OwningBinary<T>::getBinary() const { in getBinary() function
H A DMachOUniversalWriter.h66 const Binary *getBinary() const { return B; } in getBinary() function
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/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.cpp256 Twine(Offset) + " for " + S.getBinary()->getFileName() + in buildFatArchList()
265 FatArch.size = S.getBinary()->getMemoryBufferRef().getBufferSize(); in buildFatArchList()
303 MemoryBufferRef BufferRef = Slices[Index].getBinary()->getMemoryBufferRef(); in writeUniversalBinaryToStream()
317 return sys::fs::can_execute(S.getBinary()->getFileName()); in writeUniversalBinary()
/llvm-project-15.0.7/llvm/lib/ExecutionEngine/OProfileJIT/
H A DOProfileJITEventListener.cpp88 const ObjectFile &DebugObj = *DebugObjOwner.getBinary(); in notifyObjectLoaded()
150 const ObjectFile &DebugObj = *DebugObjects[Key].getBinary(); in notifyFreeingObject()
/llvm-project-15.0.7/clang/tools/clang-linker-wrapper/
H A DClangLinkerWrapper.cpp100 return std::make_pair(getBinary()->getTriple(), getBinary()->getArch()); in operator TargetID()
772 for (auto Arg : llvm::split(File.getBinary()->getString("feature"), ",")) in getTargetFeatures()
877 MemoryBufferRef Buffer = MemoryBufferRef(File.getBinary()->getImage(), ""); in linkBitcodeFiles()
914 llvm::erase_if(InputFiles, [](OffloadFile &F) { return !F.getBinary(); }); in linkBitcodeFiles()
949 BitcodeInput.getBinary()->getMemoryBufferRef().getBufferIdentifier()); in linkBitcodeFiles()
951 MemoryBufferRef(BitcodeInput.getBinary()->getImage(), Identifier); in linkBitcodeFiles()
1061 const OffloadBinary &Binary = *File.getBinary(); in writeOffloadFile()
1256 Args.MakeArgString(Input.front().getBinary()->getArch())); in getLinkerArgs()
1258 Args.MakeArgString(Input.front().getBinary()->getTriple())); in getLinkerArgs()
1263 return identify_magic(F.getBinary()->getImage()) == file_magic::bitcode; in getLinkerArgs()
[all …]
/llvm-project-15.0.7/bolt/tools/driver/
H A Dllvm-bolt.cpp216 Binary &Binary = *BinaryOrErr.get().getBinary(); in main()
274 Binary &Binary1 = *BinaryOrErr1.get().getBinary(); in main()
275 Binary &Binary2 = *BinaryOrErr2.get().getBinary(); in main()
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/llvm/tools/llvm-dwp/
H A Dllvm-dwp.cpp59 const ObjectFile &Obj = *ErrOrObj.get().getBinary(); in getDWOFilenames()
93 return ErrOrObj->getBinary()->makeTriple(); in readTargetTriple()
/llvm-project-15.0.7/llvm/tools/llvm-cov/
H A DTestingSupport.cpp43 ObjectFile *OF = ObjErr.get().getBinary(); in convertForTestingMain()
/llvm-project-15.0.7/llvm/lib/ProfileData/
H A DRawMemProfReader.cpp255 const StringRef FileName = Binary.getBinary()->getFileName(); in initialize()
257 auto *ElfObject = dyn_cast<object::ELFObjectFileBase>(Binary.getBinary()); in initialize()
289 auto *Object = cast<object::ObjectFile>(Binary.getBinary()); in initialize()
/llvm-project-15.0.7/bolt/tools/heatmap/
H A Dheatmap.cpp85 Binary &Binary = *BinaryOrErr.get().getBinary(); in main()
/llvm-project-15.0.7/llvm/lib/ExecutionEngine/IntelJITEvents/
H A DIntelJITEventListener.cpp232 const ObjectFile *DebugObj = DebugObjOwner.getBinary(); in notifyObjectLoaded()
355 const ObjectFile &DebugObj = *DebugObjects[Key].getBinary(); in notifyFreeingObject()
/llvm-project-15.0.7/llvm/lib/ExecutionEngine/Orc/
H A DExecutionUtils.cpp294 if (isa<object::Archive>(B->getBinary())) in Load()
300 if (auto *UB = cast<object::MachOUniversalBinary>(B->getBinary())) { in Load()
/llvm-project-15.0.7/llvm/tools/llvm-profgen/
H A DProfiledBinary.cpp192 Binary &ExeBinary = *OBinary.getBinary(); in load()
218 loadSymbolsFromDWARF(*cast<ObjectFile>(DebugPath.getBinary())); in load()
400 Binary &ExeBinary = *OBinary.getBinary(); in decodePseudoProbe()
/llvm-project-15.0.7/llvm/lib/DebugInfo/Symbolize/
H A DSymbolize.cpp544 Bin = Pair.first->second->getBinary(); in getOrCreateObject()
556 Bin = CachedBin->getBinary(); in getOrCreateObject()
750 if (Bin->getBinary()) in recordAccess()
/llvm-project-15.0.7/llvm/tools/llvm-dwarfutil/
H A Dllvm-dwarfutil.cpp178 if (BinOrErr->getBinary()->isObject()) { in verifyOutput()
179 if (ObjectFile *Obj = static_cast<ObjectFile *>(BinOrErr->getBinary())) { in verifyOutput()
/llvm-project-15.0.7/llvm/include/llvm/DebugInfo/Symbolize/
H A DSymbolize.h239 size_t size() { return Bin.getBinary()->getData().size(); } in size()
/llvm-project-15.0.7/llvm/lib/ObjCopy/MachO/
H A DMachOObjcopy.cpp502 Slices.emplace_back(*cast<Archive>(Binaries.back().getBinary()), in executeObjcopyOnMachOUniversalBinary()
542 Slices.emplace_back(*cast<MachOObjectFile>(Binaries.back().getBinary()), in executeObjcopyOnMachOUniversalBinary()
/llvm-project-15.0.7/llvm/tools/llvm-tli-checker/
H A Dllvm-tli-checker.cpp230 Binary &Binary = *OBinary.getBinary(); in populateFromFile()
/llvm-project-15.0.7/llvm/lib/ExecutionEngine/PerfJITEvents/
H A DPerfJITEventListener.cpp237 const ObjectFile &DebugObj = *DebugObjOwner.getBinary(); in notifyObjectLoaded()
/llvm-project-15.0.7/llvm/tools/llvm-exegesis/lib/
H A DAssembler.cpp297 assert(ObjectFileHolder.getBinary() && "cannot create object file"); in ExecutableFunction()

12