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

123456

/external/llvm/lib/DebugInfo/
H A DDIContext.cpp16 DIContext *DIContext::getDWARFContext(object::ObjectFile *Obj) {
/external/llvm/tools/llvm-objdump/
H A Dllvm-objdump.h21 class ObjectFile;
34 void printELFFileHeader(const object::ObjectFile *o);
35 void printCOFFFileHeader(const object::ObjectFile *o);
/external/llvm/tools/llvm-readobj/
H A DObjDumper.h18 class ObjectFile;
50 std::error_code createCOFFDumper(const object::ObjectFile *Obj,
54 std::error_code createELFDumper(const object::ObjectFile *Obj,
58 std::error_code createMachODumper(const object::ObjectFile *Obj,
/external/llvm/lib/Object/
H A DObjectFile.cpp1 //===- ObjectFile.cpp - File format independent object file -----*- C++ -*-===//
10 // This file defines a file format independent ObjectFile class.
14 #include "llvm/Object/ObjectFile.h"
24 void ObjectFile::anchor() { }
26 ObjectFile::ObjectFile(unsigned int Type, std::unique_ptr<MemoryBuffer> Source) function in class:ObjectFile
29 std::error_code ObjectFile::printSymbolName(raw_ostream &OS,
38 std::error_code ObjectFile::getSymbolAlignment(DataRefImpl DRI,
44 section_iterator ObjectFile::getRelocatedSection(DataRefImpl Sec) const {
48 ErrorOr<ObjectFile *>
[all...]
H A DObject.cpp17 #include "llvm/Object/ObjectFile.h"
22 inline ObjectFile *unwrap(LLVMObjectFileRef OF) {
23 return reinterpret_cast<ObjectFile*>(OF);
26 inline LLVMObjectFileRef wrap(const ObjectFile *OF) {
27 return reinterpret_cast<LLVMObjectFileRef>(const_cast<ObjectFile*>(OF));
60 // ObjectFile creation
63 ErrorOr<ObjectFile *> ObjOrErr(ObjectFile::createObjectFile(Buf));
65 ObjectFile *Obj = ObjOrErr ? ObjOrErr.get() : nullptr;
69 void LLVMDisposeObjectFile(LLVMObjectFileRef ObjectFile) { argument
74 LLVMGetSections(LLVMObjectFileRef ObjectFile) argument
83 LLVMIsSectionIteratorAtEnd(LLVMObjectFileRef ObjectFile, LLVMSectionIteratorRef SI) argument
99 LLVMGetSymbols(LLVMObjectFileRef ObjectFile) argument
108 LLVMIsSymbolIteratorAtEnd(LLVMObjectFileRef ObjectFile, LLVMSymbolIteratorRef SI) argument
[all...]
/external/llvm/include/llvm-c/
H A DObject.h42 // ObjectFile creation
44 void LLVMDisposeObjectFile(LLVMObjectFileRef ObjectFile);
46 // ObjectFile Section iterators
47 LLVMSectionIteratorRef LLVMGetSections(LLVMObjectFileRef ObjectFile);
49 LLVMBool LLVMIsSectionIteratorAtEnd(LLVMObjectFileRef ObjectFile,
55 // ObjectFile Symbol iterators
56 LLVMSymbolIteratorRef LLVMGetSymbols(LLVMObjectFileRef ObjectFile);
58 LLVMBool LLVMIsSymbolIteratorAtEnd(LLVMObjectFileRef ObjectFile,
/external/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DObjectImageCommon.h19 #include "llvm/Object/ObjectFile.h"
26 class ObjectFile;
35 std::unique_ptr<object::ObjectFile> ObjFile;
38 // format-specific subclasses of ObjectFile directly
39 ObjectImageCommon(ObjectBuffer *Input, std::unique_ptr<object::ObjectFile> Obj)
49 // FIXME: error checking? createObjectFile returns an ErrorOr<ObjectFile*>
52 ObjFile.reset(object::ObjectFile::createObjectFile(Buf).get());
54 ObjectImageCommon(std::unique_ptr<object::ObjectFile> Input)
73 object::ObjectFile* getObjectFile() const override { return ObjFile.get(); }
/external/llvm/tools/obj2yaml/
H A Dobj2yaml.h23 const llvm::object::ObjectFile &Obj);
H A Dobj2yaml.cpp22 static std::error_code dumpObject(const ObjectFile &Obj) {
41 if (ObjectFile *Obj = dyn_cast<ObjectFile>(Binary.get()))
/external/lldb/include/lldb/Symbol/
H A DUnwindTable.h20 // A class which holds all the FuncUnwinders objects for a given ObjectFile.
27 UnwindTable(ObjectFile& objfile);
55 ObjectFile& m_object_file;
58 bool m_initialized; // delay some initialization until ObjectFile is set up
H A DSymbolFile.h46 FindPlugin (ObjectFile* obj_file);
51 SymbolFile(ObjectFile* obj_file) :
153 ObjectFile* GetObjectFile() { return m_obj_file; }
154 const ObjectFile* GetObjectFile() const { return m_obj_file; }
157 ObjectFile* m_obj_file; // The object file that symbols can be extracted from.
/external/llvm/include/llvm/ExecutionEngine/
H A DRuntimeDyld.h25 class ObjectFile;
60 ObjectImage *loadObject(std::unique_ptr<object::ObjectFile> InputObject);
/external/lldb/source/Plugins/
H A DMakefile16 ObjectContainer/BSD-Archive ObjectFile/ELF ObjectFile/PECOFF \
28 DIRS += ObjectContainer/Universal-Mach-O ObjectFile/Mach-O
H A DAndroid.mk16 ObjectFile/ELF \
17 ObjectFile/PECOFF \
35 ObjectFile/Mach-O \
/external/llvm/include/llvm/MC/
H A DMCObjectSymbolizer.h11 // backed by an object::ObjectFile.
20 #include "llvm/Object/ObjectFile.h"
30 /// \brief An ObjectFile-backed symbolizer.
33 const object::ObjectFile *Obj;
45 const object::ObjectFile *Obj);
69 const object::ObjectFile *Obj);
/external/llvm/include/llvm/Object/
H A DObjectFile.h1 //===- ObjectFile.h - File format independent object file -------*- C++ -*-===//
10 // This file declares a file format independent ObjectFile class.
29 class ObjectFile;
38 const ObjectFile *OwningObject;
43 RelocationRef(DataRefImpl RelocationP, const ObjectFile *Owner);
71 const ObjectFile *getObjectFile() const;
82 const ObjectFile *OwningObject;
87 SectionRef(DataRefImpl SectionP, const ObjectFile *Owner);
142 SymbolRef(DataRefImpl SymbolP, const ObjectFile *Owner);
157 const ObjectFile *getObjec
205 class ObjectFile : public SymbolicFile { class in namespace:llvm::object
[all...]
H A DMachOUniversal.h28 class ObjectFile;
61 ErrorOr<std::unique_ptr<ObjectFile>> getAsObjectFile() const;
106 ErrorOr<std::unique_ptr<ObjectFile>>
/external/llvm/tools/llvm-dwarfdump/
H A Dllvm-dwarfdump.cpp17 #include "llvm/Object/ObjectFile.h"
77 ErrorOr<ObjectFile *> ObjOrErr(ObjectFile::createObjectFile(Buff.get()));
82 std::unique_ptr<ObjectFile> Obj(ObjOrErr.get());
/external/llvm/tools/llvm-symbolizer/
H A DLLVMSymbolize.h19 #include "llvm/Object/ObjectFile.h"
72 ObjectFile *getObjectFileFromBinary(Binary *Bin, const std::string &ArchName);
83 typedef std::map<std::pair<MachOUniversalBinary *, std::string>, ObjectFile *>
93 ModuleInfo(ObjectFile *Obj, DIContext *DICtx);
107 ObjectFile *Module;
/external/lldb/source/Symbol/
H A DObjectFile.cpp1 //===-- ObjectFile.cpp ------------------------------------------*- C++ -*-===//
21 #include "lldb/Symbol/ObjectFile.h"
31 ObjectFile::FindPlugin (const lldb::ModuleSP &module_sp,
43 "ObjectFile::FindPlugin (module = %s, file = %p, file_offset = 0x%8.8" PRIx64 ", file_size = 0x%8.8" PRIx64 ")",
90 if (ObjectFile::SplitArchivePathWithObject (path_with_object, archive_file, archive_object, must_exist))
154 ObjectFile::FindPlugin (const lldb::ModuleSP &module_sp,
164 "ObjectFile::FindPlugin (module = %s, process = %p, header_addr = 0x%" PRIx64 ")",
187 ObjectFile::GetModuleSpecifications (const FileSpec &file,
201 return ObjectFile::GetModuleSpecifications (file, // file spec
212 ObjectFile
238 ObjectFile::ObjectFile (const lldb::ModuleSP &module_sp, function in class:ObjectFile
288 ObjectFile::ObjectFile (const lldb::ModuleSP &module_sp, function in class:ObjectFile
[all...]
H A DSymbolFile.cpp17 #include "lldb/Symbol/ObjectFile.h"
22 SymbolFile::FindPlugin (ObjectFile* obj_file)
34 ObjectFile *module_obj_file = module_sp->GetObjectFile();
/external/lldb/source/Plugins/ObjectFile/Mach-O/
H A DObjectFileMachO.h19 #include "lldb/Symbol/ObjectFile.h"
23 // will export the ObjectFile protocol
26 public lldb_private::ObjectFile
44 static lldb_private::ObjectFile *
52 static lldb_private::ObjectFile *
146 virtual ObjectFile::Type
149 virtual ObjectFile::Strata
/external/lldb/include/lldb/
H A Dlldb-private-interfaces.h24 typedef ObjectFile* (*ObjectFileCreateInstance) (const lldb::ModuleSP &module_sp, lldb::DataBufferSP& data_sp, lldb::offset_t data_offset, const FileSpec* file, lldb::offset_t file_offset, lldb::offset_t length);
25 typedef ObjectFile* (*ObjectFileCreateMemoryInstance) (const lldb::ModuleSP &module_sp, lldb::DataBufferSP& data_sp, const lldb::ProcessSP &process_sp, lldb::addr_t offset);
32 typedef SymbolFile* (*SymbolFileCreateInstance) (ObjectFile* obj_file);
/external/lldb/source/Plugins/DynamicLoader/Static/
H A DDynamicLoaderStatic.cpp13 #include "lldb/Symbol/ObjectFile.h"
43 ObjectFile *object_file = exe_module->GetObjectFile();
46 create = (object_file->GetStrata() == ObjectFile::eStrataRawImage);
114 ObjectFile *image_object_file = module_sp->GetObjectFile();
/external/lldb/source/Plugins/SymbolVendor/ELF/
H A DSymbolVendorELF.cpp26 #include "lldb/Symbol/ObjectFile.h"
89 ObjectFile *obj_file = module_sp->GetObjectFile();
132 ObjectFileSP dsym_objfile_sp = ObjectFile::FindPlugin(module_sp, &dsym_fspec, 0, dsym_fspec.GetByteSize(), dsym_file_data_sp, dsym_file_data_offset);
138 dsym_objfile_sp->SetType (ObjectFile::eTypeDebugInfo);

Completed in 357 milliseconds

123456