| /freebsd/contrib/llvm-project/llvm/lib/XRay/ |
| H A D | InstrumentationMap.cpp | 60 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 D | OffloadBinary.h | 171 getBinary()->getMemoryBufferRef().getBuffer(), in copy() 172 getBinary()->getMemoryBufferRef().getBufferIdentifier()); in copy() 185 return std::make_pair(getBinary()->getTriple(), getBinary()->getArch()); in TargetID()
|
| H A D | Binary.h | 209 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 D | MachOUniversalWriter.h | 68 const Binary *getBinary() const { return B; } in getBinary() function
|
| /freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/ |
| H A D | GDBRegistrationListener.cpp | 171 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 D | Object.cpp | 202 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 D | MachOUniversalWriter.cpp | 275 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 D | OffloadBundle.cpp | 243 auto Obj = ObjOrErr->getBinary(); in extractOffloadBundleByURI()
|
| /freebsd/contrib/llvm-project/llvm/tools/llvm-objdump/ |
| H A D | OffloadDump.cpp | 69 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 D | OProfileJITEventListener.cpp | 88 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 D | MemProfReader.cpp | 351 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 D | llvm-objcopy.cpp | 163 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 D | llvm-dwp.cpp | 83 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 D | TestingSupport.cpp | 45 ObjectFile *OF = ObjErr.get().getBinary(); in convertForTestingMain()
|
| /freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/IntelJITEvents/ |
| H A D | IntelJITEventListener.cpp | 232 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 D | Symbolize.cpp | 575 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 D | llvm-dwarfutil.cpp | 201 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 D | MsgPackDocument.cpp | 294 MPWriter.write(Node.getBinary()); in writeToBlob()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/Symbolize/ |
| H A D | Symbolize.h | 256 size_t size() { return Bin.getBinary()->getData().size(); } in size()
|
| /freebsd/contrib/llvm-project/llvm/lib/ObjCopy/MachO/ |
| H A D | MachOObjcopy.cpp | 553 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 D | llvm-tli-checker.cpp | 238 Binary &Binary = *OBinary.getBinary(); in populateFromFile()
|
| /freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/PerfJITEvents/ |
| H A D | PerfJITEventListener.cpp | 240 const ObjectFile &DebugObj = *DebugObjOwner.getBinary(); in notifyObjectLoaded()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/BinaryFormat/ |
| H A D | MsgPackDocument.h | 128 MemoryBufferRef getBinary() const { in getBinary() function
|
| /freebsd/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/ |
| H A D | NativeSession.cpp | 137 dyn_cast<object::COFFObjectFile>(BinaryFile->getBinary()); in getPdbPathFromExe()
|
| H A D | InputFile.cpp | 318 IF.PdbOrObj = llvm::cast<COFFObjectFile>(IF.CoffObject.getBinary()); in open()
|