/external/llvm/lib/Object/ |
ObjectFile.cpp | 1 //===- 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, MemoryBuffer *source, error_code &ec) 30 ObjectFile *ObjectFile::createObjectFile(MemoryBuffer *Object) { 59 ObjectFile *ObjectFile::createObjectFile(StringRef ObjectPath) [all...] |
ELFObjectFile.cpp | 21 ObjectFile *ObjectFile::createELFObjectFile(MemoryBuffer *Object) {
|
Object.cpp | 15 #include "llvm/Object/ObjectFile.h" 21 // ObjectFile creation 23 return wrap(ObjectFile::createObjectFile(unwrap(MemBuf))); 26 void LLVMDisposeObjectFile(LLVMObjectFileRef ObjectFile) { 27 delete unwrap(ObjectFile); 30 // ObjectFile Section iterators 31 LLVMSectionIteratorRef LLVMGetSections(LLVMObjectFileRef ObjectFile) { 32 section_iterator SI = unwrap(ObjectFile)->begin_sections(); 40 LLVMBool LLVMIsSectionIteratorAtEnd(LLVMObjectFileRef ObjectFile, 42 return (*unwrap(SI) == unwrap(ObjectFile)->end_sections()) ? 1 : 0 [all...] |
Binary.cpp | 22 #include "llvm/Object/ObjectFile.h" 65 ObjectFile::createELFObjectFile(scopedSource.take())); 81 ObjectFile::createMachOObjectFile(scopedSource.take()));
|
COFFObjectFile.cpp | 420 : ObjectFile(Binary::ID_COFF, Object, ec) 784 ObjectFile *ObjectFile::createCOFFObjectFile(MemoryBuffer *Object) {
|
MachOObjectFile.cpp | 11 // class to the generic ObjectFile wrapper. 33 : ObjectFile(Binary::ID_MachO, Object, ec), 47 ObjectFile *ObjectFile::createMachOObjectFile(MemoryBuffer *Buffer) { [all...] |
/external/llvm/include/llvm-c/ |
Object.h | 26 #include "llvm/Object/ObjectFile.h" 44 // ObjectFile creation 46 void LLVMDisposeObjectFile(LLVMObjectFileRef ObjectFile); 48 // ObjectFile Section iterators 49 LLVMSectionIteratorRef LLVMGetSections(LLVMObjectFileRef ObjectFile); 51 LLVMBool LLVMIsSectionIteratorAtEnd(LLVMObjectFileRef ObjectFile, 57 // ObjectFile Symbol iterators 58 LLVMSymbolIteratorRef LLVMGetSymbols(LLVMObjectFileRef ObjectFile); 60 LLVMBool LLVMIsSymbolIteratorAtEnd(LLVMObjectFileRef ObjectFile, 105 inline ObjectFile *unwrap(LLVMObjectFileRef OF) [all...] |
/external/llvm/lib/ExecutionEngine/RuntimeDyld/ |
ObjectImage.h | 17 #include "llvm/Object/ObjectFile.h" 25 object::ObjectFile *ObjFile; 28 ObjectImage(object::ObjectFile *Obj) { ObjFile = Obj; }
|
RuntimeDyld.cpp | 65 ObjectFile *ObjFile = ObjectFile::createObjectFile(const_cast<MemoryBuffer*>
|
/external/llvm/tools/llvm-readobj/ |
llvm-readobj.cpp | 13 // It makes use of the generic ObjectFile interface. 19 #include "llvm/Object/ObjectFile.h" 82 void DumpSymbol(const SymbolRef &Sym, const ObjectFile *obj, bool IsDynamic) { 120 // Iterate through the normal symbols in the ObjectFile 121 void DumpSymbols(const ObjectFile *obj) { 137 // Iterate through the dynamic symbols in the ObjectFile. 138 void DumpDynamicSymbols(const ObjectFile *obj) { 161 void DumpLibrariesNeeded(const ObjectFile *obj) { 177 void DumpHeaders(const ObjectFile *obj) { 207 ObjectFile *obj = ObjectFile::createObjectFile(File.take()) [all...] |
/external/llvm/include/llvm/Object/ |
ObjectFile.h | 1 //===- ObjectFile.h - File format independent object file -------*- C++ -*-===// 10 // This file declares a file format independent ObjectFile class. 28 class ObjectFile; 97 const ObjectFile *OwningObject; 102 RelocationRef(DataRefImpl RelocationP, const ObjectFile *Owner); 137 const ObjectFile *OwningObject; 142 SectionRef(DataRefImpl SectionP, const ObjectFile *Owner); 179 const ObjectFile *OwningObject; 205 SymbolRef(DataRefImpl SymbolP, const ObjectFile *Owner); 241 const ObjectFile *OwningObject [all...] |
MachO.h | 11 // class to the generic ObjectFile wrapper. 18 #include "llvm/Object/ObjectFile.h" 29 class MachOObjectFile : public ObjectFile {
|
COFF.h | 17 #include "llvm/Object/ObjectFile.h" 94 class COFFObjectFile : public ObjectFile {
|
ELF.h | 22 #include "llvm/Object/ObjectFile.h" 392 class ELFObjectFile : public ObjectFile { [all...] |
/external/llvm/tools/llvm-dwarfdump/ |
llvm-dwarfdump.cpp | 17 #include "llvm/Object/ObjectFile.h" 50 OwningPtr<ObjectFile> Obj(ObjectFile::createObjectFile(Buff.take()));
|
/external/llvm/tools/llvm-size/ |
llvm-size.cpp | 18 #include "llvm/Object/ObjectFile.h" 91 static void PrintObjectSectionSizes(ObjectFile *o) { 262 if (ObjectFile *o = dyn_cast<ObjectFile>(child.get())) { 271 } else if (ObjectFile *o = dyn_cast<ObjectFile>(binary.get())) {
|
/external/llvm/bindings/python/llvm/tests/ |
test_object.py | 2 from ..object import ObjectFile 10 return ObjectFile(filename=source)
|
/external/llvm/tools/llvm-objdump/ |
llvm-objdump.cpp | 20 #include "llvm/Object/ObjectFile.h" 107 static const Target *GetTarget(const ObjectFile *Obj = NULL) { 167 static void DisassembleObject(const ObjectFile *Obj, bool InlineRelocs) { 349 static void PrintRelocations(const ObjectFile *o) { 379 static void PrintSectionHeaders(const ObjectFile *o) { 405 static void PrintSectionContents(const ObjectFile *o) { 488 static void PrintSymbolTable(const ObjectFile *o) { 557 static void DumpObject(const ObjectFile *o) { 586 if (ObjectFile *o = dyn_cast<ObjectFile>(child.get()) [all...] |
MachODump.cpp | 244 ObjectFile::createMachOObjectFile(Buff.take()))); 329 ObjectFile::createMachOObjectFile(Buf.take())));
|
/external/llvm/bindings/python/llvm/ |
object.py | 18 symbols, and relocations. These are represented by the classes ObjectFile, 24 The only way to use this module is to start by creating an ObjectFile. You can 25 create an ObjectFile by loading a file (specified by its path) or by creating a 51 obj = ObjectFile(filename='/bin/ls') 91 "ObjectFile", 97 class ObjectFile(LLVMObject): 182 Section instances can currently only be created from an ObjectFile 286 assert isinstance(object_file, ObjectFile) 443 library.LLVMDisposeObjectFile.argtypes = [ObjectFile] 445 library.LLVMGetSections.argtypes = [ObjectFile] [all...] |
/external/llvm/tools/llvm-nm/ |
llvm-nm.cpp | 24 #include "llvm/Object/ObjectFile.h" 285 static void DumpSymbolNamesFromObject(ObjectFile *obj) { 362 if (object::ObjectFile *o = dyn_cast<ObjectFile>(child.get())) { 372 if (object::ObjectFile *o = dyn_cast<ObjectFile>(obj.get()))
|
/external/llvm/tools/bugpoint/ |
ToolRunner.h | 49 enum FileType { AsmFile, ObjectFile, CFile };
|
ToolRunner.cpp | 485 return UseIntegratedAssembler ? GCC::ObjectFile : GCC::AsmFile; 664 if (fileType != ObjectFile) { 815 if (fileType != ObjectFile) { [all...] |