Home
last modified time | relevance | path

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

12345678

/freebsd-13.1/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DObjectYAML.cpp25 if (ObjectFile.Elf) in mapping()
27 if (ObjectFile.Coff) in mapping()
29 if (ObjectFile.MachO) in mapping()
31 if (ObjectFile.FatMachO) in mapping()
37 ObjectFile.Arch.reset(new ArchYAML::Archive()); in mapping()
44 ObjectFile.Elf.reset(new ELFYAML::Object()); in mapping()
47 ObjectFile.Coff.reset(new COFFYAML::Object()); in mapping()
50 ObjectFile.MachO.reset(new MachOYAML::Object()); in mapping()
57 ObjectFile.Minidump.reset(new MinidumpYAML::Object()); in mapping()
60 ObjectFile.Wasm.reset(new WasmYAML::Object()); in mapping()
[all …]
/freebsd-13.1/contrib/llvm-project/lldb/source/Symbol/
H A DObjectFile.cpp29 char ObjectFile::ID;
237 ObjectFile::ObjectFile(const lldb::ModuleSP &module_sp, in ObjectFile() function in ObjectFile
262 ObjectFile::ObjectFile(const lldb::ModuleSP &module_sp, in ObjectFile() function in ObjectFile
280 ObjectFile::~ObjectFile() { in ~ObjectFile()
571 void ObjectFile::ClearSymtab() { in ClearSymtab()
662 case ObjectFile::eTypeInvalid: in format()
665 case ObjectFile::eTypeCoreFile: in format()
686 case ObjectFile::eTypeJIT: in format()
689 case ObjectFile::eTypeUnknown: in format()
704 case ObjectFile::eStrataUser: in format()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Object/
H A DObjectFile.cpp42 void ObjectFile::anchor() {} in anchor()
44 ObjectFile::ObjectFile(unsigned int Type, MemoryBufferRef Source) in ObjectFile() function in ObjectFile
79 bool ObjectFile::isSectionBitcode(DataRefImpl Sec) const { in isSectionBitcode()
89 bool ObjectFile::isBerkeleyText(DataRefImpl Sec) const { in isBerkeleyText()
93 bool ObjectFile::isBerkeleyData(DataRefImpl Sec) const { in isBerkeleyData()
100 ObjectFile::getRelocatedSection(DataRefImpl Sec) const { in getRelocatedSection()
104 Triple ObjectFile::makeTriple() const { in makeTriple()
132 Expected<std::unique_ptr<ObjectFile>>
184 Expected<OwningBinary<ObjectFile>>
185 ObjectFile::createObjectFile(StringRef ObjectPath) { in createObjectFile()
[all …]
H A DObject.cpp29 const_cast<OwningBinary<ObjectFile> *>(OF)); in wrap()
150 auto OF = cast<ObjectFile>(unwrap(BR)); in LLVMObjectFileCopySectionIterator()
159 auto OF = cast<ObjectFile>(unwrap(BR)); in LLVMObjectFileIsSectionIteratorAtEnd()
164 auto OF = cast<ObjectFile>(unwrap(BR)); in LLVMObjectFileCopySymbolIterator()
173 auto OF = cast<ObjectFile>(unwrap(BR)); in LLVMObjectFileIsSymbolIteratorAtEnd()
182 std::unique_ptr<ObjectFile> Obj; in LLVMCreateObjectFile()
194 delete unwrap(ObjectFile); in LLVMDisposeObjectFile()
199 OwningBinary<ObjectFile> *OB = unwrap(OF); in LLVMGetSections()
210 OwningBinary<ObjectFile> *OB = unwrap(OF); in LLVMIsSectionIteratorAtEnd()
233 OwningBinary<ObjectFile> *OB = unwrap(OF); in LLVMGetSymbols()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/DebugInfo/Symbolize/
H A DSymbolize.h60 Expected<DILineInfo> symbolizeCode(const ObjectFile &Obj,
65 symbolizeInlinedCode(const ObjectFile &Obj,
71 Expected<DIGlobal> symbolizeData(const ObjectFile &Obj,
89 using ObjectPair = std::pair<const ObjectFile *, const ObjectFile *>;
116 createModuleInfo(const ObjectFile *Obj, std::unique_ptr<DIContext> Context,
119 ObjectFile *lookUpDsymFile(const std::string &Path,
122 ObjectFile *lookUpDebuglinkObject(const std::string &Path,
123 const ObjectFile *Obj,
125 ObjectFile *lookUpBuildIDObject(const std::string &Path,
136 Expected<ObjectFile *> getOrCreateObject(const std::string &Path,
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-objdump/
H A DMachODump.h23 class ObjectFile; variable
66 void printMachOFileHeader(const object::ObjectFile *O);
67 void printMachOLoadCommands(const object::ObjectFile *O);
69 void printExportsTrie(const object::ObjectFile *O);
70 void printRebaseTable(object::ObjectFile *O);
71 void printBindTable(object::ObjectFile *O);
72 void printLazyBindTable(object::ObjectFile *O);
73 void printWeakBindTable(object::ObjectFile *O);
H A Dllvm-objdump.h104 SectionFilter(FilterPredicate P, llvm::object::ObjectFile const &O) in SectionFilter()
117 llvm::object::ObjectFile const &Object;
128 SectionFilter ToolSectionFilter(llvm::object::ObjectFile const &O,
132 void printRelocations(const object::ObjectFile *O);
133 void printDynamicRelocations(const object::ObjectFile *O);
134 void printSectionHeaders(const object::ObjectFile *O);
135 void printSectionContents(const object::ObjectFile *O);
136 void printSymbolTable(const object::ObjectFile *O, StringRef ArchiveName,
139 void printSymbol(const object::ObjectFile *O, const object::SymbolRef &Symbol,
157 SymbolInfoTy createSymbolInfo(const object::ObjectFile *Obj,
H A DELFDump.h21 class ObjectFile; variable
32 void printELFFileHeader(const object::ObjectFile *O);
33 void printELFDynamicSection(const object::ObjectFile *Obj);
34 void printELFSymbolVersionInfo(const object::ObjectFile *Obj);
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Object/
H A DObjectFile.h41 class ObjectFile; variable
53 const ObjectFile *OwningObject = nullptr;
73 const ObjectFile *getObject() const;
84 const ObjectFile *OwningObject = nullptr;
141 const ObjectFile *getObject() const;
204 const ObjectFile *getObject() const;
228 class ObjectFile : public SymbolicFile {
297 ObjectFile() = delete;
298 ObjectFile(const ObjectFile &other) = delete;
352 static Expected<OwningBinary<ObjectFile>>
[all …]
/freebsd-13.1/contrib/llvm-project/lldb/include/lldb/Symbol/
H A DObjectFile.h36 virtual void PopulateSymtab(lldb_private::ObjectFile *obj_file,
39 virtual void PopulateSectionList(lldb_private::ObjectFile *obj_file,
58 class ObjectFile : public std::enable_shared_from_this<ObjectFile>,
126 ~ObjectFile() override;
531 ObjectFile::BinaryType &type) { in GetCorefileMainBinaryInfo()
729 ObjectFile(const ObjectFile &) = delete;
730 const ObjectFile &operator=(const ObjectFile &) = delete;
736 template <> struct format_provider<lldb_private::ObjectFile::Type> {
737 static void format(const lldb_private::ObjectFile::Type &type,
741 template <> struct format_provider<lldb_private::ObjectFile::Strata> {
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/
H A DRuntimeDyld.h78 virtual object::OwningBinary<object::ObjectFile>
79 getObjectForDebug(const object::ObjectFile &Obj) const = 0;
170 const object::ObjectFile &Obj) {} in notifyObjectLoaded()
186 std::unique_ptr<LoadedObjectInfo> loadObject(const object::ObjectFile &O);
275 object::OwningBinary<object::ObjectFile> O,
278 unique_function<Error(const object::ObjectFile &Obj, LoadedObjectInfo &,
281 unique_function<void(object::OwningBinary<object::ObjectFile> O,
301 object::OwningBinary<object::ObjectFile> O,
304 unique_function<Error(const object::ObjectFile &Obj,
308 unique_function<void(object::OwningBinary<object::ObjectFile>,
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/ObjectFile/JIT/
H A DObjectFileJIT.h17 class ObjectFileJIT : public lldb_private::ObjectFile {
33 static lldb_private::ObjectFile *
38 static lldb_private::ObjectFile *CreateMemoryInstance(
52 return ClassID == &ID || ObjectFile::isA(ClassID); in isA()
54 static bool classof(const ObjectFile *obj) { return obj->isA(&ID); } in classof()
94 ObjectFile::Type CalculateType() override;
96 ObjectFile::Strata CalculateStrata() override;
/freebsd-13.1/contrib/llvm-project/llvm/lib/DebugInfo/Symbolize/
H A DSymbolize.cpp72 LLVMSymbolizer::symbolizeCode(const ObjectFile &Obj, in symbolizeCode()
154 LLVMSymbolizer::symbolizeData(const ObjectFile &Obj, in symbolizeData()
189 LLVMSymbolizer::symbolizeFrame(const ObjectFile &Obj, in symbolizeFrame()
415 ObjectFile *DbgObj = DbgObjOrErr.get(); in lookUpDsymFile()
480 ObjectFile *Obj = ObjOrErr.get(); in getOrCreateObjectPair()
482 ObjectFile *DbgObj = nullptr; in getOrCreateObjectPair()
497 Expected<ObjectFile *>
513 return static_cast<ObjectFile *>(nullptr); in getOrCreateObject()
520 Expected<std::unique_ptr<ObjectFile>> ObjOrErr = in getOrCreateObject()
527 ObjectFile *Res = ObjOrErr->get(); in getOrCreateObject()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyldImpl.h335 virtual void setMipsABI(const ObjectFile &Obj) { in setMipsABI()
363 Error emitCommonSymbols(const ObjectFile &Obj,
371 Expected<unsigned> emitSection(const ObjectFile &Obj,
380 Expected<unsigned> findOrEmitSection(const ObjectFile &Obj,
420 Error computeTotalAllocSize(const ObjectFile &Obj,
426 unsigned computeGOTSize(const ObjectFile &Obj);
429 unsigned computeSectionStubBufSize(const ObjectFile &Obj,
462 loadObject(const object::ObjectFile &Obj) = 0;
550 object::OwningBinary<object::ObjectFile> O,
566 virtual bool isCompatibleFile(const ObjectFile &Obj) const = 0;
[all …]
H A DRuntimeDyldMachO.h65 const ObjectFile &BaseTObj, in getRelocationEntry()
84 const ObjectFile &BaseObjT,
98 getRelocationValueRef(const ObjectFile &BaseTObj,
130 loadObject(const object::ObjectFile &O) override;
134 bool isCompatibleFile(const object::ObjectFile &Obj) const override;
158 Error finalizeLoad(const ObjectFile &Obj,
H A DRuntimeDyldCOFF.cpp39 OwningBinary<ObjectFile>
40 getObjectForDebug(const ObjectFile &Obj) const override { in getObjectForDebug()
41 return OwningBinary<ObjectFile>(); in getObjectForDebug()
66 RuntimeDyldCOFF::loadObject(const object::ObjectFile &O) { in loadObject()
117 bool RuntimeDyldCOFF::isCompatibleFile(const object::ObjectFile &Obj) const { in isCompatibleFile()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm-c/
H A DObject.h209 void LLVMDisposeObjectFile(LLVMObjectFileRef ObjectFile);
212 LLVMSectionIteratorRef LLVMGetSections(LLVMObjectFileRef ObjectFile);
215 LLVMBool LLVMIsSectionIteratorAtEnd(LLVMObjectFileRef ObjectFile,
219 LLVMSymbolIteratorRef LLVMGetSymbols(LLVMObjectFileRef ObjectFile);
222 LLVMBool LLVMIsSymbolIteratorAtEnd(LLVMObjectFileRef ObjectFile,
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/ObjectFile/PDB/
H A DObjectFilePDB.h19 class ObjectFilePDB : public ObjectFile {
33 static ObjectFile *
38 static ObjectFile *CreateMemoryInstance(const lldb::ModuleSP &module_sp,
58 return ClassID == &ID || ObjectFile::isA(ClassID); in isA()
60 static bool classof(const ObjectFile *obj) { return obj->isA(&ID); } in classof()
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/ObjectFile/Breakpad/
H A DObjectFileBreakpad.h18 class ObjectFileBreakpad : public ObjectFile {
29 static ObjectFile *
34 static ObjectFile *CreateMemoryInstance(const lldb::ModuleSP &module_sp,
54 return ClassID == &ID || ObjectFile::isA(ClassID); in isA()
56 static bool classof(const ObjectFile *obj) { return obj->isA(&ID); } in classof()
/freebsd-13.1/contrib/llvm-project/llvm/lib/ExecutionEngine/OProfileJIT/
H A DOProfileJITEventListener.cpp42 std::map<ObjectKey, OwningBinary<ObjectFile>> DebugObjects;
52 void notifyObjectLoaded(ObjectKey Key, const ObjectFile &Obj,
81 ObjectKey Key, const ObjectFile &Obj, in notifyObjectLoaded()
87 OwningBinary<ObjectFile> DebugObjOwner = L.getObjectForDebug(Obj); in notifyObjectLoaded()
88 const ObjectFile &DebugObj = *DebugObjOwner.getBinary(); in notifyObjectLoaded()
150 const ObjectFile &DebugObj = *DebugObjects[Key].getBinary(); in notifyFreeingObject()
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-size/
H A Dllvm-size.cpp174 static bool considerForSize(ObjectFile *Obj, SectionRef Section) { in considerForSize()
190 static Expected<uint64_t> getCommonSize(ObjectFile *Obj) { in getCommonSize()
356 static void printObjectSectionSizes(ObjectFile *Obj) { in printObjectSectionSizes()
564 if (ObjectFile *o = dyn_cast<ObjectFile>(&*ChildOrErr.get())) { in printFileSectionSizes()
598 if (ObjectFile *o = dyn_cast<ObjectFile>(&*UO.get())) { in printFileSectionSizes()
636 if (ObjectFile *o = dyn_cast<ObjectFile>(&*ChildOrErr.get())) { in printFileSectionSizes()
689 if (ObjectFile *o = dyn_cast<ObjectFile>(&*UO.get())) { in printFileSectionSizes()
723 if (ObjectFile *o = dyn_cast<ObjectFile>(&*ChildOrErr.get())) { in printFileSectionSizes()
764 if (ObjectFile *o = dyn_cast<ObjectFile>(&*UO.get())) { in printFileSectionSizes()
800 if (ObjectFile *o = dyn_cast<ObjectFile>(&*ChildOrErr.get())) { in printFileSectionSizes()
[all …]
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/ObjectFile/wasm/
H A DObjectFileWasm.h22 class ObjectFileWasm : public ObjectFile {
32 static ObjectFile *
37 static ObjectFile *CreateMemoryInstance(const lldb::ModuleSP &module_sp,
59 return ClassID == &ID || ObjectFile::isA(ClassID); in isA()
61 static bool classof(const ObjectFile *obj) { return obj->isA(&ID); } in classof()
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-dwarfdump/
H A Dllvm-dwarfdump.h34 void calculateSectionSizes(const object::ObjectFile &Obj, SectionSizes &Sizes,
37 bool collectStatsForObjectFile(object::ObjectFile &Obj, DWARFContext &DICtx,
39 bool collectObjectSectionSizes(object::ObjectFile &Obj, DWARFContext &DICtx,
/freebsd-13.1/contrib/llvm-project/llvm/lib/ExecutionEngine/
H A DGDBRegistrationListener.cpp76 OwningBinary<ObjectFile> Obj) in RegisteredObjectInfo()
81 OwningBinary<ObjectFile> Obj;
108 void notifyObjectLoaded(ObjectKey K, const ObjectFile &Obj,
157 ObjectKey K, const ObjectFile &Obj, in notifyObjectLoaded()
160 OwningBinary<ObjectFile> DebugObj = L.getObjectForDebug(Obj); in notifyObjectLoaded()
/freebsd-13.1/contrib/llvm-project/lldb/include/lldb/Core/
H A DSection.h30 class ObjectFile; variable
102 Section(const lldb::ModuleSP &module_sp, ObjectFile *obj_file,
113 const lldb::ModuleSP &module_sp, ObjectFile *obj_file,
190 ObjectFile *GetObjectFile() { return m_obj_file; } in GetObjectFile()
191 const ObjectFile *GetObjectFile() const { return m_obj_file; } in GetObjectFile()
240 ObjectFile *m_obj_file; // The object file that data for this section should

12345678