Home
last modified time | relevance | path

Searched refs:ObjectFile (Results 1 – 25 of 179) sorted by relevance

12345678

/freebsd-12.1/contrib/llvm/lib/ObjectYAML/
H A DObjectYAML.cpp26 if (ObjectFile.Elf) in mapping()
27 MappingTraits<ELFYAML::Object>::mapping(IO, *ObjectFile.Elf); in mapping()
28 if (ObjectFile.Coff) in mapping()
30 if (ObjectFile.MachO) in mapping()
32 if (ObjectFile.FatMachO) in mapping()
37 ObjectFile.Elf.reset(new ELFYAML::Object()); in mapping()
38 MappingTraits<ELFYAML::Object>::mapping(IO, *ObjectFile.Elf); in mapping()
40 ObjectFile.Coff.reset(new COFFYAML::Object()); in mapping()
43 ObjectFile.MachO.reset(new MachOYAML::Object()); in mapping()
46 ObjectFile.FatMachO.reset(new MachOYAML::UniversalBinary()); in mapping()
[all …]
/freebsd-12.1/contrib/llvm/lib/Object/
H A DObjectFile.cpp36 void ObjectFile::anchor() {} in anchor()
38 ObjectFile::ObjectFile(unsigned int Type, MemoryBufferRef Source) in ObjectFile() function in ObjectFile
51 uint64_t ObjectFile::getSymbolValue(DataRefImpl Ref) const { in getSymbolValue()
71 bool ObjectFile::isSectionBitcode(DataRefImpl Sec) const { in isSectionBitcode()
80 bool ObjectFile::isBerkeleyText(DataRefImpl Sec) const { in isBerkeleyText()
84 bool ObjectFile::isBerkeleyData(DataRefImpl Sec) const { in isBerkeleyData()
92 Triple ObjectFile::makeTriple() const { in makeTriple()
117 Expected<std::unique_ptr<ObjectFile>>
160 Expected<OwningBinary<ObjectFile>>
161 ObjectFile::createObjectFile(StringRef ObjectPath) { in createObjectFile()
[all …]
H A DObject.cpp22 inline OwningBinary<ObjectFile> *unwrap(LLVMObjectFileRef OF) { in unwrap()
23 return reinterpret_cast<OwningBinary<ObjectFile> *>(OF); in unwrap()
28 const_cast<OwningBinary<ObjectFile> *>(OF)); in wrap()
64 Expected<std::unique_ptr<ObjectFile>> ObjOrErr( in LLVMCreateObjectFile()
66 std::unique_ptr<ObjectFile> Obj; in LLVMCreateObjectFile()
77 void LLVMDisposeObjectFile(LLVMObjectFileRef ObjectFile) { in LLVMDisposeObjectFile() argument
78 delete unwrap(ObjectFile); in LLVMDisposeObjectFile()
83 OwningBinary<ObjectFile> *OB = unwrap(OF); in LLVMGetSections()
94 OwningBinary<ObjectFile> *OB = unwrap(OF); in LLVMIsSectionIteratorAtEnd()
117 OwningBinary<ObjectFile> *OB = unwrap(OF); in LLVMGetSymbols()
[all …]
/freebsd-12.1/contrib/llvm/tools/lldb/source/Symbol/
H A DObjectFile.cpp259 ObjectFile::ObjectFile(const lldb::ModuleSP &module_sp, in ObjectFile() function in ObjectFile
285 ObjectFile::ObjectFile(const lldb::ModuleSP &module_sp, in ObjectFile() function in ObjectFile
304 ObjectFile::~ObjectFile() { in ~ObjectFile()
597 void ObjectFile::ClearSymtab() { in ClearSymtab()
693 case ObjectFile::eTypeInvalid: in format()
696 case ObjectFile::eTypeCoreFile: in format()
717 case ObjectFile::eTypeJIT: in format()
720 case ObjectFile::eTypeUnknown: in format()
735 case ObjectFile::eStrataUser: in format()
738 case ObjectFile::eStrataKernel: in format()
[all …]
/freebsd-12.1/contrib/llvm/tools/llvm-objdump/
H A Dllvm-objdump.h26 class ObjectFile; variable
83 void printELFFileHeader(const object::ObjectFile *O);
85 void printCOFFFileHeader(const object::ObjectFile *O);
90 void printWasmFileHeader(const object::ObjectFile *O);
91 void printExportsTrie(const object::ObjectFile *O);
92 void printRebaseTable(object::ObjectFile *O);
93 void printBindTable(object::ObjectFile *O);
94 void printLazyBindTable(object::ObjectFile *O);
95 void printWeakBindTable(object::ObjectFile *O);
96 void printRawClangAST(const object::ObjectFile *O);
[all …]
/freebsd-12.1/contrib/llvm/include/llvm/Object/
H A DObjectFile.h42 class ObjectFile; variable
54 const ObjectFile *OwningObject = nullptr;
74 const ObjectFile *getObject() const;
85 const ObjectFile *OwningObject = nullptr;
136 const ObjectFile *getObject() const;
178 const ObjectFile *getObject() const;
202 class ObjectFile : public SymbolicFile {
271 ObjectFile() = delete;
272 ObjectFile(const ObjectFile &other) = delete;
326 static Expected<OwningBinary<ObjectFile>>
[all …]
/freebsd-12.1/contrib/llvm/include/llvm/DebugInfo/Symbolize/
H A DSymbolize.h77 using ObjectPair = std::pair<ObjectFile *, ObjectFile *>;
86 ObjectFile *lookUpDsymFile(const std::string &Path,
89 ObjectFile *lookUpDebuglinkObject(const std::string &Path,
90 const ObjectFile *Obj,
100 Expected<ObjectFile *> getOrCreateObject(const std::string &Path,
114 std::map<std::pair<std::string, std::string>, std::unique_ptr<ObjectFile>>
/freebsd-12.1/contrib/llvm/tools/llvm-readobj/
H A DObjDumper.h22 class ObjectFile; variable
91 void printSectionAsString(const object::ObjectFile *Obj, StringRef SecName);
92 void printSectionAsHex(const object::ObjectFile *Obj, StringRef SecName);
98 std::error_code createCOFFDumper(const object::ObjectFile *Obj,
102 std::error_code createELFDumper(const object::ObjectFile *Obj,
106 std::error_code createMachODumper(const object::ObjectFile *Obj,
110 std::error_code createWasmDumper(const object::ObjectFile *Obj,
/freebsd-12.1/contrib/llvm/tools/lldb/include/lldb/Symbol/
H A DObjectFile.h37 virtual void PopulateSymtab(lldb_private::ObjectFile *obj_file,
40 virtual void PopulateSectionList(lldb_private::ObjectFile *obj_file,
61 class ObjectFile : public std::enable_shared_from_this<ObjectFile>,
103 ObjectFile(const lldb::ModuleSP &module_sp, const FileSpec *file_spec_ptr,
107 ObjectFile(const lldb::ModuleSP &module_sp, const lldb::ProcessSP &process_sp,
116 ~ObjectFile() override;
807 DISALLOW_COPY_AND_ASSIGN(ObjectFile);
813 template <> struct format_provider<lldb_private::ObjectFile::Type> {
814 static void format(const lldb_private::ObjectFile::Type &type,
818 template <> struct format_provider<lldb_private::ObjectFile::Strata> {
[all …]
H A DSymbolFile.h54 static SymbolFile *FindPlugin(ObjectFile *obj_file);
59 SymbolFile(ObjectFile *obj_file) in SymbolFile()
225 ObjectFile *GetObjectFile() { return m_obj_file; } in GetObjectFile()
226 const ObjectFile *GetObjectFile() const { return m_obj_file; } in GetObjectFile()
245 ObjectFile *m_obj_file; // The object file that symbols can be extracted from.
/freebsd-12.1/contrib/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyldCOFF.cpp38 OwningBinary<ObjectFile>
39 getObjectForDebug(const ObjectFile &Obj) const override { in getObjectForDebug()
40 return OwningBinary<ObjectFile>(); in getObjectForDebug()
63 RuntimeDyldCOFF::loadObject(const object::ObjectFile &O) { in loadObject()
79 bool RuntimeDyldCOFF::isCompatibleFile(const object::ObjectFile &Obj) const { in isCompatibleFile()
H A DRuntimeDyldMachO.h66 const ObjectFile &BaseTObj, in getRelocationEntry()
85 const ObjectFile &BaseObjT,
99 getRelocationValueRef(const ObjectFile &BaseTObj,
131 loadObject(const object::ObjectFile &O) override;
135 bool isCompatibleFile(const object::ObjectFile &Obj) const override;
159 Error finalizeLoad(const ObjectFile &Obj,
H A DRuntimeDyldImpl.h359 virtual void setMipsABI(const ObjectFile &Obj) { in setMipsABI()
387 Error emitCommonSymbols(const ObjectFile &Obj,
395 Expected<unsigned> emitSection(const ObjectFile &Obj,
404 Expected<unsigned> findOrEmitSection(const ObjectFile &Obj,
444 Error computeTotalAllocSize(const ObjectFile &Obj,
450 unsigned computeGOTSize(const ObjectFile &Obj);
453 unsigned computeSectionStubBufSize(const ObjectFile &Obj,
457 Expected<ObjSectionToIDMap> loadObjectImpl(const object::ObjectFile &Obj);
490 loadObject(const object::ObjectFile &Obj) = 0;
561 virtual bool isCompatibleFile(const ObjectFile &Obj) const = 0;
[all …]
H A DRuntimeDyldELF.h90 void setMipsABI(const ObjectFile &Obj) override;
174 loadObject(const object::ObjectFile &O) override;
179 const ObjectFile &Obj,
182 bool isCompatibleFile(const object::ObjectFile &Obj) const override;
184 Error finalizeLoad(const ObjectFile &Obj,
H A DRuntimeDyldMachO.cpp37 OwningBinary<ObjectFile>
38 getObjectForDebug(const ObjectFile &Obj) const override { in getObjectForDebug()
39 return OwningBinary<ObjectFile>(); in getObjectForDebug()
57 const ObjectFile &BaseObjT, in processScatteredVANILLA()
99 const ObjectFile &BaseTObj, const relocation_iterator &RI, in getRelocationValueRef()
223 bool RuntimeDyldMachO::isCompatibleFile(const object::ObjectFile &Obj) const { in isCompatibleFile()
229 RuntimeDyldMachOCRTPBase<Impl>::finalizeLoad(const ObjectFile &Obj, in finalizeLoad()
366 RuntimeDyldMachO::loadObject(const object::ObjectFile &O) { in loadObject()
/freebsd-12.1/contrib/llvm/include/llvm-c/
H A DObject.h44 void LLVMDisposeObjectFile(LLVMObjectFileRef ObjectFile);
47 LLVMSectionIteratorRef LLVMGetSections(LLVMObjectFileRef ObjectFile);
49 LLVMBool LLVMIsSectionIteratorAtEnd(LLVMObjectFileRef ObjectFile,
56 LLVMSymbolIteratorRef LLVMGetSymbols(LLVMObjectFileRef ObjectFile);
58 LLVMBool LLVMIsSymbolIteratorAtEnd(LLVMObjectFileRef ObjectFile,
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/ObjectFile/JIT/
H A DObjectFileJIT.h20 class ObjectFileJIT : public lldb_private::ObjectFile {
38 static lldb_private::ObjectFile *
43 static lldb_private::ObjectFile *CreateMemoryInstance(
94 ObjectFile::Type CalculateType() override;
96 ObjectFile::Strata CalculateStrata() override;
H A DObjectFileJIT.cpp62 ObjectFile *ObjectFileJIT::CreateInstance(const lldb::ModuleSP &module_sp, in CreateInstance()
73 ObjectFile *ObjectFileJIT::CreateMemoryInstance(const lldb::ModuleSP &module_sp, in CreateMemoryInstance()
92 : ObjectFile(module_sp, NULL, 0, 0, DataBufferSP(), 0), m_delegate_wp() { in ObjectFileJIT()
188 ObjectFile::Type ObjectFileJIT::CalculateType() { return eTypeJIT; } in CalculateType()
190 ObjectFile::Strata ObjectFileJIT::CalculateStrata() { return eStrataJIT; } in CalculateStrata()
/freebsd-12.1/contrib/llvm/lib/ExecutionEngine/OProfileJIT/
H A DOProfileJITEventListener.cpp43 std::map<ObjectKey, OwningBinary<ObjectFile>> DebugObjects;
53 void notifyObjectLoaded(ObjectKey Key, const ObjectFile &Obj,
82 ObjectKey Key, const ObjectFile &Obj, in notifyObjectLoaded()
88 OwningBinary<ObjectFile> DebugObjOwner = L.getObjectForDebug(Obj); in notifyObjectLoaded()
89 const ObjectFile &DebugObj = *DebugObjOwner.getBinary(); in notifyObjectLoaded()
151 const ObjectFile &DebugObj = *DebugObjects[Key].getBinary(); in notifyFreeingObject()
/freebsd-12.1/contrib/llvm/lib/DebugInfo/Symbolize/
H A DSymbolize.cpp250 ObjectFile *LLVMSymbolizer::lookUpDsymFile(const std::string &ExePath, in lookUpDsymFile()
267 ObjectFile *DbgObj = DbgObjOrErr.get(); in lookUpDsymFile()
279 ObjectFile *LLVMSymbolizer::lookUpDebuglinkObject(const std::string &Path, in lookUpDebuglinkObject()
280 const ObjectFile *Obj, in lookUpDebuglinkObject()
313 ObjectFile *Obj = ObjOrErr.get(); in getOrCreateObjectPair()
315 ObjectFile *DbgObj = nullptr; in getOrCreateObjectPair()
329 Expected<ObjectFile *>
347 return static_cast<ObjectFile *>(nullptr); in getOrCreateObject()
354 Expected<std::unique_ptr<ObjectFile>> ObjOrErr = in getOrCreateObject()
361 ObjectFile *Res = ObjOrErr->get(); in getOrCreateObject()
[all …]
/freebsd-12.1/contrib/llvm/include/llvm/ExecutionEngine/
H A DRuntimeDyld.h78 virtual object::OwningBinary<object::ObjectFile>
79 getObjectForDebug(const object::ObjectFile &Obj) const = 0;
165 const object::ObjectFile &Obj) {} in notifyObjectLoaded()
181 std::unique_ptr<LoadedObjectInfo> loadObject(const object::ObjectFile &O);
254 jitLinkForORC(object::ObjectFile &Obj,
278 void jitLinkForORC(object::ObjectFile &Obj,
/freebsd-12.1/contrib/llvm/lib/ExecutionEngine/IntelJITEvents/
H A DIntelJITEventListener.cpp50 std::map<ObjectKey, OwningBinary<ObjectFile>> DebugObjects;
60 void notifyObjectLoaded(ObjectKey Key, const ObjectFile &Obj,
100 ObjectKey Key, const ObjectFile &Obj, in notifyObjectLoaded()
103 OwningBinary<ObjectFile> DebugObjOwner = L.getObjectForDebug(Obj); in notifyObjectLoaded()
104 const ObjectFile *DebugObj = DebugObjOwner.getBinary(); in notifyObjectLoaded()
201 const ObjectFile &DebugObj = *DebugObjects[Key].getBinary(); in notifyFreeingObject()
/freebsd-12.1/contrib/llvm/lib/ExecutionEngine/
H A DGDBRegistrationListener.cpp70 OwningBinary<ObjectFile> Obj) in RegisteredObjectInfo()
75 OwningBinary<ObjectFile> Obj;
102 void notifyObjectLoaded(ObjectKey K, const ObjectFile &Obj,
151 ObjectKey K, const ObjectFile &Obj, in notifyObjectLoaded()
154 OwningBinary<ObjectFile> DebugObj = L.getObjectForDebug(Obj); in notifyObjectLoaded()
/freebsd-12.1/contrib/llvm/tools/lldb/include/lldb/Core/
H A DSection.h35 class ObjectFile; variable
112 Section(const lldb::ModuleSP &module_sp, ObjectFile *obj_file,
123 const lldb::ModuleSP &module_sp, ObjectFile *obj_file,
203 ObjectFile *GetObjectFile() { return m_obj_file; } in GetObjectFile()
204 const ObjectFile *GetObjectFile() const { return m_obj_file; } in GetObjectFile()
257 ObjectFile *m_obj_file; // The object file that data for this section should
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/
H A DSymbolFileDWARFDebugMap.cpp271 case ObjectFile::eTypeInvalid: in InitOSO()
272 case ObjectFile::eTypeCoreFile: in InitOSO()
273 case ObjectFile::eTypeDebugInfo: in InitOSO()
274 case ObjectFile::eTypeObjectFile: in InitOSO()
275 case ObjectFile::eTypeStubLibrary: in InitOSO()
276 case ObjectFile::eTypeUnknown: in InitOSO()
277 case ObjectFile::eTypeJIT: in InitOSO()
280 case ObjectFile::eTypeExecutable: in InitOSO()
281 case ObjectFile::eTypeDynamicLinker: in InitOSO()
282 case ObjectFile::eTypeSharedLibrary: in InitOSO()
[all …]

12345678