Home
last modified time | relevance | path

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

1234567891011

/freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DObjectYAML.cpp25 if (ObjectFile.Elf) in mapping()
27 if (ObjectFile.Coff) in mapping()
29 if (ObjectFile.Goff) in mapping()
31 if (ObjectFile.MachO) in mapping()
33 if (ObjectFile.FatMachO) in mapping()
39 ObjectFile.Arch.reset(new ArchYAML::Archive()); in mapping()
46 ObjectFile.Elf.reset(new ELFYAML::Object()); in mapping()
49 ObjectFile.Coff.reset(new COFFYAML::Object()); in mapping()
52 ObjectFile.Goff.reset(new GOFFYAML::Object()); in mapping()
55 ObjectFile.MachO.reset(new MachOYAML::Object()); in mapping()
[all …]
H A DDXContainerEmitter.cpp28 : ObjectFile(ObjectFile) {} in DXContainerWriter()
33 DXContainerYAML::Object &ObjectFile; member in __anonaf0f49aa0111::DXContainerWriter
45 if (!ObjectFile.Header.FileSize) in validateSize()
46 ObjectFile.Header.FileSize = Computed; in validateSize()
47 else if (*ObjectFile.Header.FileSize < Computed) in validateSize()
54 if (ObjectFile.Parts.size() != ObjectFile.Header.PartOffsets->size()) in validatePartOffsets()
60 for (auto I : llvm::zip(ObjectFile.Parts, *ObjectFile.Header.PartOffsets)) { in validatePartOffsets()
74 if (ObjectFile.Header.PartOffsets) in computePartOffsets()
79 for (const auto &Part : ObjectFile.Parts) { in computePartOffsets()
96 Header.PartCount = ObjectFile.Parts.size(); in writeHeader()
[all …]
/freebsd/contrib/llvm-project/lldb/source/Symbol/
H A DObjectFile.cpp32 char ObjectFile::ID;
241 ObjectFile::ObjectFile(const lldb::ModuleSP &module_sp, in ObjectFile() function in ObjectFile
265 ObjectFile::ObjectFile(const lldb::ModuleSP &module_sp, in ObjectFile() function in ObjectFile
283 ObjectFile::~ObjectFile() { in ~ObjectFile()
576 void ObjectFile::ClearSymtab() { in ClearSymtab()
669 case ObjectFile::eTypeInvalid: in format()
672 case ObjectFile::eTypeCoreFile: in format()
693 case ObjectFile::eTypeJIT: in format()
696 case ObjectFile::eTypeUnknown: in format()
711 case ObjectFile::eStrataUser: in format()
[all …]
H A DSymbolFile.cpp49 ObjectFile *module_obj_file = module_sp->GetObjectFile(); in FindPlugin()
91 ObjectFile::Type obj_file_type = objfile_sp->CalculateType(); in FindPlugin()
94 (obj_file_type == ObjectFile::eTypeExecutable || in FindPlugin()
95 obj_file_type == ObjectFile::eTypeSharedLibrary || in FindPlugin()
96 obj_file_type == ObjectFile::eTypeDebugInfo)) { in FindPlugin()
169 ObjectFile *SymbolFileCommon::GetMainObjectFile() { in GetMainObjectFile()
174 ObjectFile *module_objfile = GetMainObjectFile(); in SectionFileAddressesChanged()
175 ObjectFile *symfile_objfile = GetObjectFile(); in SectionFileAddressesChanged()
/freebsd/contrib/llvm-project/llvm/lib/Object/
H A DObjectFile.cpp41 void ObjectFile::anchor() {} in anchor()
43 ObjectFile::ObjectFile(unsigned int Type, MemoryBufferRef Source) in ObjectFile() function in ObjectFile
89 bool ObjectFile::isBerkeleyText(DataRefImpl Sec) const { in isBerkeleyText()
93 bool ObjectFile::isBerkeleyData(DataRefImpl Sec) const { in isBerkeleyData()
99 bool ObjectFile::hasDebugInfo() const { in hasDebugInfo()
109 Triple ObjectFile::makeTriple() const { in makeTriple()
148 Expected<std::unique_ptr<ObjectFile>>
208 Expected<OwningBinary<ObjectFile>>
209 ObjectFile::createObjectFile(StringRef ObjectPath) { in createObjectFile()
216 Expected<std::unique_ptr<ObjectFile>> ObjOrErr = in createObjectFile()
[all …]
H A DObject.cpp30 const_cast<OwningBinary<ObjectFile> *>(OF)); in wrap()
153 auto OF = cast<ObjectFile>(unwrap(BR)); in LLVMObjectFileCopySectionIterator()
162 auto OF = cast<ObjectFile>(unwrap(BR)); in LLVMObjectFileIsSectionIteratorAtEnd()
167 auto OF = cast<ObjectFile>(unwrap(BR)); in LLVMObjectFileCopySymbolIterator()
176 auto OF = cast<ObjectFile>(unwrap(BR)); in LLVMObjectFileIsSymbolIteratorAtEnd()
185 std::unique_ptr<ObjectFile> Obj; in LLVMCreateObjectFile()
197 delete unwrap(ObjectFile); in LLVMDisposeObjectFile()
202 OwningBinary<ObjectFile> *OB = unwrap(OF); in LLVMGetSections()
213 OwningBinary<ObjectFile> *OB = unwrap(OF); in LLVMIsSectionIteratorAtEnd()
235 OwningBinary<ObjectFile> *OB = unwrap(OF); in LLVMGetSymbols()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Object/
H A DObjectFile.h41 class ObjectFile; variable
54 const ObjectFile *OwningObject = nullptr;
74 const ObjectFile *getObject() const;
85 const ObjectFile *OwningObject = nullptr;
142 const ObjectFile *getObject() const;
205 const ObjectFile *getObject() const;
229 class ObjectFile : public SymbolicFile {
303 ObjectFile() = delete;
304 ObjectFile(const ObjectFile &other) = delete;
452 const ObjectFile &Object;
[all …]
/freebsd/contrib/llvm-project/lldb/source/Plugins/ObjectFile/COFF/
H A DObjectFileCOFF.h22 class ObjectFileCOFF : public lldb_private::ObjectFile {
30 : ObjectFile(module_sp, file, file_offset, length, data_sp, data_offset), in ObjectFileCOFF()
44 static lldb_private::ObjectFile *
49 static lldb_private::ObjectFile *
64 return ClassID == &ID || ObjectFile::isA(ClassID); in isA()
66 static bool classof(const ObjectFile *obj) { return obj->isA(&ID); } in classof()
105 lldb_private::ObjectFile::Type CalculateType() override { in CalculateType()
107 return lldb_private::ObjectFile::eTypeObjectFile; in CalculateType()
110 lldb_private::ObjectFile::Strata CalculateStrata() override { in CalculateStrata()
112 return lldb_private::ObjectFile::eStrataUser; in CalculateStrata()
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/Symbolize/
H A DSymbolize.h35 class ObjectFile; variable
77 Expected<DILineInfo> symbolizeCode(const ObjectFile &Obj,
84 symbolizeInlinedCode(const ObjectFile &Obj,
93 Expected<DIGlobal> symbolizeData(const ObjectFile &Obj,
109 findSymbol(const ObjectFile &Obj, StringRef Symbol, uint64_t Offset);
140 using ObjectPair = std::pair<const ObjectFile *, const ObjectFile *>;
173 ObjectFile *lookUpDsymFile(const std::string &Path,
176 ObjectFile *lookUpDebuglinkObject(const std::string &Path,
177 const ObjectFile *Obj,
179 ObjectFile *lookUpBuildIDObject(const std::string &Path,
[all …]
/freebsd/contrib/llvm-project/llvm/tools/llvm-objdump/
H A DMachODump.h24 class ObjectFile; variable
77 void printMachOFileHeader(const object::ObjectFile *O);
78 void printMachOLoadCommands(const object::ObjectFile *O);
80 void printExportsTrie(const object::ObjectFile *O);
81 void printRebaseTable(object::ObjectFile *O);
82 void printBindTable(object::ObjectFile *O);
83 void printLazyBindTable(object::ObjectFile *O);
84 void printWeakBindTable(object::ObjectFile *O);
H A Dllvm-objdump.h77 const object::ObjectFile &O;
84 Dumper(const object::ObjectFile &O);
116 object::SectionFilter ToolSectionFilter(const llvm::object::ObjectFile &O,
120 void printSectionHeaders(object::ObjectFile &O);
121 void printSectionContents(const object::ObjectFile *O);
139 SymbolInfoTy createSymbolInfo(const object::ObjectFile &Obj,
/freebsd/contrib/llvm-project/lldb/include/lldb/Expression/
H A DObjectFileJIT.h26 virtual void PopulateSymtab(lldb_private::ObjectFile *obj_file,
28 virtual void PopulateSectionList(lldb_private::ObjectFile *obj_file,
33 class ObjectFileJIT : public ObjectFile {
51 static lldb_private::ObjectFile *
56 static lldb_private::ObjectFile *CreateMemoryInstance(
70 return ClassID == &ID || ObjectFile::isA(ClassID); in isA()
72 static bool classof(const ObjectFile *obj) { return obj->isA(&ID); } in classof()
111 ObjectFile::Type CalculateType() override;
113 ObjectFile::Strata CalculateStrata() override;
/freebsd/contrib/llvm-project/lldb/include/lldb/Symbol/
H A DObjectFile.h42 class ObjectFile : public std::enable_shared_from_this<ObjectFile>,
99 ObjectFile(const lldb::ModuleSP &module_sp, const FileSpec *file_spec_ptr,
103 ObjectFile(const lldb::ModuleSP &module_sp, const lldb::ProcessSP &process_sp,
110 ~ObjectFile() override;
534 ObjectFile::BinaryType &type) { in GetCorefileMainBinaryInfo()
786 ObjectFile(const ObjectFile &) = delete;
787 const ObjectFile &operator=(const ObjectFile &) = delete;
793 template <> struct format_provider<lldb_private::ObjectFile::Type> {
794 static void format(const lldb_private::ObjectFile::Type &type,
798 template <> struct format_provider<lldb_private::ObjectFile::Strata> {
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/
H A DRuntimeDyld.h78 virtual object::OwningBinary<object::ObjectFile>
79 getObjectForDebug(const object::ObjectFile &Obj) const = 0;
183 const object::ObjectFile &Obj) {} in notifyObjectLoaded()
199 std::unique_ptr<LoadedObjectInfo> loadObject(const object::ObjectFile &O);
288 object::OwningBinary<object::ObjectFile> O,
291 unique_function<Error(const object::ObjectFile &Obj, LoadedObjectInfo &,
294 unique_function<void(object::OwningBinary<object::ObjectFile> O,
314 object::OwningBinary<object::ObjectFile> O,
317 unique_function<Error(const object::ObjectFile &Obj,
321 unique_function<void(object::OwningBinary<object::ObjectFile>,
/freebsd/contrib/llvm-project/lldb/source/Plugins/ObjectFile/JSON/
H A DObjectFileJSON.h18 class ObjectFileJSON : public ObjectFile {
29 static ObjectFile *
34 static ObjectFile *CreateMemoryInstance(const lldb::ModuleSP &module_sp,
51 return ClassID == &ID || ObjectFile::isA(ClassID); in isA()
53 static bool classof(const ObjectFile *obj) { return obj->isA(&ID); } in classof()
95 std::optional<ObjectFile::Type> type;
106 ObjectFile::Type m_type;
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/
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 DRuntimeDyldImpl.h341 virtual void setMipsABI(const ObjectFile &Obj) { in setMipsABI()
369 Error emitCommonSymbols(const ObjectFile &Obj,
377 Expected<unsigned> emitSection(const ObjectFile &Obj,
386 Expected<unsigned> findOrEmitSection(const ObjectFile &Obj,
432 unsigned computeGOTSize(const ObjectFile &Obj);
435 unsigned computeSectionStubBufSize(const ObjectFile &Obj,
472 loadObject(const object::ObjectFile &Obj) = 0;
556 unique_function<void(object::OwningBinary<object::ObjectFile>,
560 object::OwningBinary<object::ObjectFile> O,
576 virtual bool isCompatibleFile(const ObjectFile &Obj) const = 0;
[all …]
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()
118 bool RuntimeDyldCOFF::isCompatibleFile(const object::ObjectFile &Obj) const { in isCompatibleFile()
/freebsd/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,
52 return ClassID == &ID || ObjectFile::isA(ClassID); in isA()
54 static bool classof(const ObjectFile *obj) { return obj->isA(&ID); } in classof()
/freebsd/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,
56 return ClassID == &ID || ObjectFile::isA(ClassID); in isA()
58 static bool classof(const ObjectFile *obj) { return obj->isA(&ID); } in classof()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/Symbolize/
H A DSymbolize.cpp82 LLVMSymbolizer::symbolizeCode(const ObjectFile &Obj, in symbolizeCode()
176 LLVMSymbolizer::symbolizeData(const ObjectFile &Obj, in symbolizeData()
217 LLVMSymbolizer::symbolizeFrame(const ObjectFile &Obj, in symbolizeFrame()
380 ObjectFile *DbgObj = DbgObjOrErr.get(); in lookUpDsymFile()
514 ObjectFile *Obj = ObjOrErr.get(); in getOrCreateObjectPair()
516 ObjectFile *DbgObj = nullptr; in getOrCreateObjectPair()
536 Expected<ObjectFile *>
558 return static_cast<ObjectFile *>(nullptr); in getOrCreateObject()
572 ObjectFile *Res = ObjOrErr->get(); in getOrCreateObject()
580 return cast<ObjectFile>(Bin); in getOrCreateObject()
[all …]
/freebsd/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/contrib/llvm-project/llvm/include/llvm-c/
H A DObject.h211 void LLVMDisposeObjectFile(LLVMObjectFileRef ObjectFile);
214 LLVMSectionIteratorRef LLVMGetSections(LLVMObjectFileRef ObjectFile);
217 LLVMBool LLVMIsSectionIteratorAtEnd(LLVMObjectFileRef ObjectFile,
221 LLVMSymbolIteratorRef LLVMGetSymbols(LLVMObjectFileRef ObjectFile);
224 LLVMBool LLVMIsSymbolIteratorAtEnd(LLVMObjectFileRef ObjectFile,
/freebsd/contrib/llvm-project/llvm/tools/llvm-size/
H A Dllvm-size.cpp169 static bool considerForSize(ObjectFile *Obj, SectionRef Section) { in considerForSize()
185 static Expected<uint64_t> getCommonSize(ObjectFile *Obj) { in getCommonSize()
351 static void printObjectSectionSizes(ObjectFile *Obj) { in printObjectSectionSizes()
559 if (ObjectFile *o = dyn_cast<ObjectFile>(&*ChildOrErr.get())) { in printFileSectionSizes()
595 if (ObjectFile *o = dyn_cast<ObjectFile>(&*UO.get())) { in printFileSectionSizes()
633 if (ObjectFile *o = dyn_cast<ObjectFile>(&*ChildOrErr.get())) { in printFileSectionSizes()
686 if (ObjectFile *o = dyn_cast<ObjectFile>(&*UO.get())) { in printFileSectionSizes()
720 if (ObjectFile *o = dyn_cast<ObjectFile>(&*ChildOrErr.get())) { in printFileSectionSizes()
761 if (ObjectFile *o = dyn_cast<ObjectFile>(&*UO.get())) { in printFileSectionSizes()
797 if (ObjectFile *o = dyn_cast<ObjectFile>(&*ChildOrErr.get())) { in printFileSectionSizes()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/BTF/
H A DBTFParser.h31 using object::ObjectFile;
123 Error parse(const ObjectFile &Obj, const ParseOptions &Opts);
124 Error parse(const ObjectFile &Obj) { return parse(Obj, {true, true, true}); } in parse()
127 static bool hasBTFSections(const ObjectFile &Obj);

1234567891011