Searched refs:ObjectFile (Results 1 - 25 of 193) sorted by relevance

12345678

/freebsd-13-stable/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DObjectYAML.cpp23 YamlObjectFile &ObjectFile) {
25 if (ObjectFile.Elf)
26 MappingTraits<ELFYAML::Object>::mapping(IO, *ObjectFile.Elf);
27 if (ObjectFile.Coff)
28 MappingTraits<COFFYAML::Object>::mapping(IO, *ObjectFile.Coff);
29 if (ObjectFile.MachO)
30 MappingTraits<MachOYAML::Object>::mapping(IO, *ObjectFile.MachO);
31 if (ObjectFile.FatMachO)
33 *ObjectFile.FatMachO);
37 ObjectFile
22 mapping(IO &IO, YamlObjectFile &ObjectFile) argument
[all...]
H A Dyaml2obj.cpp12 #include "llvm/Object/ObjectFile.h"
56 std::unique_ptr<object::ObjectFile>
66 Expected<std::unique_ptr<object::ObjectFile>> ObjOrErr =
67 object::ObjectFile::createObjectFile(
/freebsd-13-stable/contrib/llvm-project/llvm/tools/llvm-objdump/
H A DELFDump.h21 class ObjectFile;
32 void printELFFileHeader(const object::ObjectFile *O);
33 void printELFDynamicSection(const object::ObjectFile *Obj);
34 void printELFSymbolVersionInfo(const object::ObjectFile *Obj);
H A DMachODump.h23 class ObjectFile;
54 void printMachOFileHeader(const object::ObjectFile *O);
55 void printMachOLoadCommands(const object::ObjectFile *O);
57 void printExportsTrie(const object::ObjectFile *O);
58 void printRebaseTable(object::ObjectFile *O);
59 void printBindTable(object::ObjectFile *O);
60 void printLazyBindTable(object::ObjectFile *O);
61 void printWeakBindTable(object::ObjectFile *O);
H A DWasmDump.h20 class ObjectFile;
30 void printWasmFileHeader(const object::ObjectFile *O);
H A DCOFFDump.h21 class ObjectFile;
31 void printCOFFFileHeader(const object::ObjectFile *O);
H A Dllvm-objdump.h91 SectionFilter(FilterPredicate P, llvm::object::ObjectFile const &O)
104 llvm::object::ObjectFile const &Object;
115 SectionFilter ToolSectionFilter(llvm::object::ObjectFile const &O,
119 void printRelocations(const object::ObjectFile *O);
120 void printDynamicRelocations(const object::ObjectFile *O);
121 void printSectionHeaders(const object::ObjectFile *O);
122 void printSectionContents(const object::ObjectFile *O);
123 void printSymbolTable(const object::ObjectFile *O, StringRef ArchiveName,
126 void printSymbol(const object::ObjectFile *O, const object::SymbolRef &Symbol,
144 SymbolInfoTy createSymbolInfo(const object::ObjectFile *Ob
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/DebugInfo/GSYM/
H A DObjectFileTransformer.h19 class ObjectFile;
43 static llvm::Error convert(const object::ObjectFile &Obj,
/freebsd-13-stable/contrib/llvm-project/llvm/tools/llvm-dwarfdump/
H A Dllvm-dwarfdump.h14 #include "llvm/Object/ObjectFile.h"
32 void calculateSectionSizes(const object::ObjectFile &Obj, SectionSizes &Sizes,
35 bool collectStatsForObjectFile(object::ObjectFile &Obj, DWARFContext &DICtx,
37 bool collectObjectSectionSizes(object::ObjectFile &Obj, DWARFContext &DICtx,
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Object/
H A DObjectFile.cpp1 //===- ObjectFile.cpp - File format independent object file ---------------===//
9 // This file defines a file format independent ObjectFile class.
13 #include "llvm/Object/ObjectFile.h"
42 void ObjectFile::anchor() {}
44 ObjectFile::ObjectFile(unsigned int Type, MemoryBufferRef Source) function in class:ObjectFile
57 Expected<uint64_t> ObjectFile::getSymbolValue(DataRefImpl Ref) const {
69 Error ObjectFile::printSymbolName(raw_ostream &OS, DataRefImpl Symb) const {
77 uint32_t ObjectFile::getSymbolAlignment(DataRefImpl DRI) const { return 0; }
79 bool ObjectFile
[all...]
H A DObject.cpp17 #include "llvm/Object/ObjectFile.h"
23 inline OwningBinary<ObjectFile> *unwrap(LLVMObjectFileRef OF) {
24 return reinterpret_cast<OwningBinary<ObjectFile> *>(OF);
27 inline LLVMObjectFileRef wrap(const OwningBinary<ObjectFile> *OF) {
29 const_cast<OwningBinary<ObjectFile> *>(OF));
140 Expected<std::unique_ptr<ObjectFile>> ObjOrErr(
150 auto OF = cast<ObjectFile>(unwrap(BR));
159 auto OF = cast<ObjectFile>(unwrap(BR));
164 auto OF = cast<ObjectFile>(unwrap(BR));
173 auto OF = cast<ObjectFile>(unwra
193 LLVMDisposeObjectFile(LLVMObjectFileRef ObjectFile) argument
[all...]
/freebsd-13-stable/contrib/llvm-project/lldb/source/Symbol/
H A DObjectFile.cpp1 //===-- ObjectFile.cpp ----------------------------------------------------===//
9 #include "lldb/Symbol/ObjectFile.h"
29 char ObjectFile::ID;
32 ObjectFile::FindPlugin(const lldb::ModuleSP &module_sp, const FileSpec *file,
41 "ObjectFile::FindPlugin (module = %s, file = %p, file_offset = "
91 if (ObjectFile::SplitArchivePathWithObject(
170 ObjectFileSP ObjectFile::FindPlugin(const lldb::ModuleSP &module_sp,
179 "ObjectFile::FindPlugin (module = "
207 size_t ObjectFile::GetModuleSpecifications(const FileSpec &file,
222 return ObjectFile
261 ObjectFile::ObjectFile(const lldb::ModuleSP &module_sp, function in class:ObjectFile
286 ObjectFile::ObjectFile(const lldb::ModuleSP &module_sp, function in class:ObjectFile
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Object/
H A DRelocationResolver.h24 #include "llvm/Object/ObjectFile.h"
37 getRelocationResolver(const ObjectFile &Obj);
H A DSymbolSize.h13 #include "llvm/Object/ObjectFile.h"
28 computeSymbolSizes(const ObjectFile &O);
H A DObjectFile.h1 //===- ObjectFile.h - File format independent object file -------*- C++ -*-===//
9 // This file declares a file format independent ObjectFile class.
41 class ObjectFile;
53 const ObjectFile *OwningObject = nullptr;
57 RelocationRef(DataRefImpl RelocationP, const ObjectFile *Owner);
73 const ObjectFile *getObject() const;
84 const ObjectFile *OwningObject = nullptr;
88 SectionRef(DataRefImpl SectionP, const ObjectFile *Owner);
138 const ObjectFile *getObject() const;
178 SymbolRef(DataRefImpl SymbolP, const ObjectFile *Owne
225 class ObjectFile : public SymbolicFile { class in namespace:llvm::object
[all...]
/freebsd-13-stable/contrib/llvm-project/lldb/source/Plugins/ObjectFile/JIT/
H A DObjectFileJIT.h13 #include "lldb/Symbol/ObjectFile.h"
16 // will export the ObjectFile protocol
17 class ObjectFileJIT : public lldb_private::ObjectFile {
33 static lldb_private::ObjectFile *
38 static lldb_private::ObjectFile *CreateMemoryInstance(
52 return ClassID == &ID || ObjectFile::isA(ClassID);
54 static bool classof(const ObjectFile *obj) { return obj->isA(&ID); }
94 ObjectFile::Type CalculateType() override;
96 ObjectFile::Strata CalculateStrata() override;
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/DebugInfo/Symbolize/
H A DSymbolize.h18 #include "llvm/Object/ObjectFile.h"
61 Expected<DILineInfo> symbolizeCode(const ObjectFile &Obj,
82 using ObjectPair = std::pair<const ObjectFile *, const ObjectFile *>;
96 createModuleInfo(const ObjectFile *Obj,
100 ObjectFile *lookUpDsymFile(const std::string &Path,
103 ObjectFile *lookUpDebuglinkObject(const std::string &Path,
104 const ObjectFile *Obj,
106 ObjectFile *lookUpBuildIDObject(const std::string &Path,
117 Expected<ObjectFile *> getOrCreateObjec
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/tools/llvm-readobj/
H A DObjDumper.h16 #include "llvm/Object/ObjectFile.h"
22 class ObjectFile;
62 virtual void printGnuHashTable(const object::ObjectFile *Obj) {}
101 void printSectionsAsString(const object::ObjectFile *Obj,
103 void printSectionsAsHex(const object::ObjectFile *Obj,
116 std::error_code createCOFFDumper(const object::ObjectFile *Obj,
120 std::error_code createELFDumper(const object::ObjectFile *Obj,
124 std::error_code createMachODumper(const object::ObjectFile *Obj,
128 std::error_code createWasmDumper(const object::ObjectFile *Obj,
132 std::error_code createXCOFFDumper(const object::ObjectFile *Ob
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyldCOFF.h30 loadObject(const object::ObjectFile &Obj) override;
31 bool isCompatibleFile(const object::ObjectFile &Obj) const override;
H A DRuntimeDyldCOFF.cpp20 #include "llvm/Object/ObjectFile.h"
39 OwningBinary<ObjectFile>
40 getObjectForDebug(const ObjectFile &Obj) const override {
41 return OwningBinary<ObjectFile>();
66 RuntimeDyldCOFF::loadObject(const object::ObjectFile &O) {
117 bool RuntimeDyldCOFF::isCompatibleFile(const object::ObjectFile &Obj) const {
/freebsd-13-stable/contrib/llvm-project/lldb/include/lldb/Symbol/
H A DObjectFile.h1 //===-- ObjectFile.h --------------------------------------------*- C++ -*-===//
36 virtual void PopulateSymtab(lldb_private::ObjectFile *obj_file,
39 virtual void PopulateSectionList(lldb_private::ObjectFile *obj_file,
45 /// \class ObjectFile ObjectFile.h "lldb/Symbol/ObjectFile.h"
53 /// An example of a partial file ObjectFile is one that contains information
58 class ObjectFile : public std::enable_shared_from_this<ObjectFile>, class in namespace:lldb_private
104 ObjectFile(cons
[all...]
/freebsd-13-stable/contrib/llvm-project/lldb/source/Plugins/ObjectFile/Breakpad/
H A DObjectFileBreakpad.h12 #include "lldb/Symbol/ObjectFile.h"
18 class ObjectFileBreakpad : public ObjectFile {
29 static ObjectFile *
34 static ObjectFile *CreateMemoryInstance(const lldb::ModuleSP &module_sp,
54 return ClassID == &ID || ObjectFile::isA(ClassID);
56 static bool classof(const ObjectFile *obj) { return obj->isA(&ID); }
58 // ObjectFile Protocol.
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm-c/
H A DObject.h168 // ObjectFile Symbol iterators
209 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-stable/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/
H A DRuntimeDyld.h21 #include "llvm/Object/ObjectFile.h"
79 virtual object::OwningBinary<object::ObjectFile>
80 getObjectForDebug(const object::ObjectFile &Obj) const = 0;
166 const object::ObjectFile &Obj) {}
182 std::unique_ptr<LoadedObjectInfo> loadObject(const object::ObjectFile &O);
271 object::OwningBinary<object::ObjectFile> O,
274 unique_function<Error(const object::ObjectFile &Obj,
278 unique_function<void(object::OwningBinary<object::ObjectFile> O, Error)>
297 object::OwningBinary<object::ObjectFile> O,
300 unique_function<Error(const object::ObjectFile
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/OProfileJIT/
H A DOProfileJITEventListener.cpp23 #include "llvm/Object/ObjectFile.h"
42 std::map<ObjectKey, OwningBinary<ObjectFile>> DebugObjects;
52 void notifyObjectLoaded(ObjectKey Key, const ObjectFile &Obj,
81 ObjectKey Key, const ObjectFile &Obj,
87 OwningBinary<ObjectFile> DebugObjOwner = L.getObjectForDebug(Obj);
88 const ObjectFile &DebugObj = *DebugObjOwner.getBinary();
150 const ObjectFile &DebugObj = *DebugObjects[Key].getBinary();

Completed in 243 milliseconds

12345678