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

1234567

/external/llvm/lib/DebugInfo/DWARF/
H A DDIContext.cpp16 DIContext *DIContext::getDWARFContext(const object::ObjectFile &Obj) {
/external/llvm/tools/llvm-objdump/
H A Dllvm-objdump.h20 class ObjectFile;
67 void printELFFileHeader(const object::ObjectFile *o);
68 void printCOFFFileHeader(const object::ObjectFile *o);
69 void printMachOFileHeader(const object::ObjectFile *o);
70 void printExportsTrie(const object::ObjectFile *o);
71 void printRebaseTable(const object::ObjectFile *o);
72 void printBindTable(const object::ObjectFile *o);
73 void printLazyBindTable(const object::ObjectFile *o);
74 void printWeakBindTable(const object::ObjectFile *o);
75 void PrintRelocations(const object::ObjectFile *
[all...]
/external/llvm/include/llvm/ExecutionEngine/Orc/
H A DCompileUtils.h20 #include "llvm/Object/ObjectFile.h"
27 /// ObjectFile.
33 /// @brief Compile a Module to an ObjectFile.
34 object::OwningBinary<object::ObjectFile> operator()(Module &M) const {
46 ErrorOr<std::unique_ptr<object::ObjectFile>> Obj =
47 object::ObjectFile::createObjectFile(ObjBuffer->getMemBufferRef());
49 typedef object::OwningBinary<object::ObjectFile> OwningObj;
H A DIRCompileLayer.h20 #include "llvm/Object/ObjectFile.h"
34 typedef std::function<object::OwningBinary<object::ObjectFile>(Module &)>
40 typedef std::vector<std::unique_ptr<object::ObjectFile>> OwningObjectVec;
69 std::unique_ptr<object::ObjectFile> Object;
125 object::OwningBinary<object::ObjectFile>
129 return object::OwningBinary<object::ObjectFile>();
131 ErrorOr<std::unique_ptr<object::ObjectFile>> Obj =
132 object::ObjectFile::createObjectFile(ObjBuffer->getMemBufferRef());
134 return object::OwningBinary<object::ObjectFile>();
136 return object::OwningBinary<object::ObjectFile>(st
[all...]
/external/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyldCOFF.cpp18 #include "llvm/Object/ObjectFile.h"
33 OwningBinary<ObjectFile>
34 getObjectForDebug(const ObjectFile &Obj) const override {
35 return OwningBinary<ObjectFile>();
56 RuntimeDyldCOFF::loadObject(const object::ObjectFile &O) {
71 const ObjectFile *Obj = Sym.getObject();
83 bool RuntimeDyldCOFF::isCompatibleFile(const object::ObjectFile &Obj) const {
H A DRuntimeDyldMachO.h66 const ObjectFile &BaseTObj,
92 RelocationValueRef getRelocationValueRef(const ObjectFile &BaseTObj,
99 const ObjectFile &BaseTObj,
125 loadObject(const object::ObjectFile &O) override;
129 bool isCompatibleFile(const object::ObjectFile &Obj) const override;
153 void finalizeLoad(const ObjectFile &Obj,
H A DRuntimeDyldCOFF.h32 loadObject(const object::ObjectFile &Obj) override;
33 bool isCompatibleFile(const object::ObjectFile &Obj) const override;
H A DRuntimeDyldELF.h76 void findPPC64TOCSection(const ObjectFile &Obj,
79 void findOPDEntrySection(const ObjectFile &Obj,
122 loadObject(const object::ObjectFile &O) override;
127 const ObjectFile &Obj,
130 bool isCompatibleFile(const object::ObjectFile &Obj) const override;
133 void finalizeLoad(const 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.
16 #include "llvm/Object/ObjectFile.h"
26 void ObjectFile::anchor() { }
28 ObjectFile::ObjectFile(unsigned int Type, MemoryBufferRef Source) function in class:ObjectFile
31 std::error_code ObjectFile::printSymbolName(raw_ostream &OS,
40 std::error_code ObjectFile::getSymbolAlignment(DataRefImpl DRI,
46 section_iterator ObjectFile::getRelocatedSection(DataRefImpl Sec) const {
50 ErrorOr<std::unique_ptr<ObjectFile>>
[all...]
H A DObject.cpp17 #include "llvm/Object/ObjectFile.h"
22 inline OwningBinary<ObjectFile> *unwrap(LLVMObjectFileRef OF) {
23 return reinterpret_cast<OwningBinary<ObjectFile> *>(OF);
26 inline LLVMObjectFileRef wrap(const OwningBinary<ObjectFile> *OF) {
28 const_cast<OwningBinary<ObjectFile> *>(OF));
61 // ObjectFile creation
64 ErrorOr<std::unique_ptr<ObjectFile>> ObjOrErr(
65 ObjectFile::createObjectFile(Buf->getMemBufferRef()));
66 std::unique_ptr<ObjectFile> Obj;
70 auto *Ret = new OwningBinary<ObjectFile>(st
74 LLVMDisposeObjectFile(LLVMObjectFileRef ObjectFile) argument
[all...]
H A DELFObjectFile.cpp21 : ObjectFile(Type, Source) {}
23 ErrorOr<std::unique_ptr<ObjectFile>>
24 ObjectFile::createELFObjectFile(MemoryBufferRef Obj) {
31 std::unique_ptr<ObjectFile> R;
/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/OProfileJIT/
H A DOProfileJITEventListener.cpp22 #include "llvm/Object/ObjectFile.h"
40 std::map<const char*, OwningBinary<ObjectFile>> DebugObjects;
50 void NotifyObjectEmitted(const ObjectFile &Obj,
53 void NotifyFreeingObject(const ObjectFile &Obj) override;
78 const ObjectFile &Obj,
84 OwningBinary<ObjectFile> DebugObjOwner = L.getObjectForDebug(Obj);
85 const ObjectFile &DebugObj = *DebugObjOwner.getBinary();
114 void OProfileJITEventListener::NotifyFreeingObject(const ObjectFile &Obj) {
122 const ObjectFile &DebugObj = *DebugObjects[Obj.getData().data()].getBinary();
/external/llvm/tools/llvm-readobj/
H A DObjDumper.h18 class ObjectFile;
56 std::error_code createCOFFDumper(const object::ObjectFile *Obj,
60 std::error_code createELFDumper(const object::ObjectFile *Obj,
64 std::error_code createMachODumper(const object::ObjectFile *Obj,
/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))
/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;
40 const ObjectFile *OwningObject;
45 RelocationRef(DataRefImpl RelocationP, const ObjectFile *Owner);
73 const ObjectFile *getObjectFile() const;
84 const ObjectFile *OwningObject;
89 SectionRef(DataRefImpl SectionP, const ObjectFile *Owner);
121 const ObjectFile *getObject() const;
141 SymbolRef(DataRefImpl SymbolP, const ObjectFile *Owne
181 class ObjectFile : public SymbolicFile { class in namespace:llvm::object
[all...]
/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
/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/ExecutionEngine/
H A DJITEventListener.h31 class ObjectFile;
74 virtual void NotifyObjectEmitted(const object::ObjectFile &Obj,
79 virtual void NotifyFreeingObject(const object::ObjectFile &Obj) {}
/external/llvm/tools/dsymutil/
H A DBinaryHolder.h19 #include "llvm/Object/ObjectFile.h"
27 /// owning ObjectFile objects and their underlying MemoryBuffer. This
40 std::unique_ptr<object::ObjectFile> CurrentObjectFile;
69 /// \brief Get the ObjectFile designated by the \p Filename. This
75 ErrorOr<const object::ObjectFile &> GetObjectFile(StringRef Filename);
77 /// \brief Wraps GetObjectFile() to return a derived ObjectFile type.
88 /// \brief Access the currently owned ObjectFile. As successfull
91 const object::ObjectFile &Get() {
97 /// ObjectFile. The conversion must be known to be valid.
/external/llvm/lib/ExecutionEngine/
H A DGDBRegistrationListener.cpp12 #include "llvm/Object/ObjectFile.h"
69 OwningBinary<ObjectFile> Obj)
84 OwningBinary<ObjectFile> Obj;
111 void NotifyObjectEmitted(const ObjectFile &Object,
117 void NotifyFreeingObject(const ObjectFile &Object) override;
160 const ObjectFile &Object,
163 OwningBinary<ObjectFile> DebugObj = L.getObjectForDebug(Object);
193 void GDBJITRegistrationListener::NotifyFreeingObject(const ObjectFile& Object) {
/external/llvm/tools/llvm-symbolizer/
H A DLLVMSymbolize.h19 #include "llvm/Object/ObjectFile.h"
67 typedef std::pair<ObjectFile*, ObjectFile*> ObjectPair;
70 ObjectFile *lookUpDsymFile(const std::string &Path, const MachOObjectFile *ExeObj,
78 ObjectFile *getObjectFileFromBinary(Binary *Bin, const std::string &ArchName);
95 std::map<std::pair<MachOUniversalBinary *, std::string>, ObjectFile *>
106 ModuleInfo(ObjectFile *Obj, DIContext *DICtx);
124 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...]

Completed in 314 milliseconds

1234567