HomeSort by relevance Sort by last modified time
    Searched refs:ObjectFile (Results 1 - 25 of 47) sorted by null

1 2

  /external/llvm/include/llvm/MC/
MCObjectDisassembler.h 11 // can be used to construct an MCModule and an MC CFG from an ObjectFile.
21 class ObjectFile;
30 /// \brief Disassemble an ObjectFile to an MCModule and MCFunctions.
36 const object::ObjectFile &Obj;
41 MCObjectDisassembler(const object::ObjectFile &Obj,
MCObjectSymbolizer.h 11 // backed by an object::ObjectFile.
20 #include "llvm/Object/ObjectFile.h"
30 /// \brief An ObjectFile-backed symbolizer.
33 const object::ObjectFile *Obj;
53 const object::ObjectFile *Obj);
70 const object::ObjectFile *Obj);
  /external/llvm/lib/DebugInfo/
DIContext.cpp 16 DIContext *DIContext::getDWARFContext(object::ObjectFile *Obj) {
  /external/llvm/tools/llvm-readobj/
ObjDumper.h 16 class ObjectFile;
47 error_code createCOFFDumper(const object::ObjectFile *Obj,
51 error_code createELFDumper(const object::ObjectFile *Obj,
55 error_code createMachODumper(const object::ObjectFile *Obj,
llvm-readobj.cpp 29 #include "llvm/Object/ObjectFile.h"
170 static error_code createDumper(const ObjectFile *Obj,
188 static void dumpObject(const ObjectFile *Obj) {
240 if (ObjectFile *Obj = dyn_cast<ObjectFile>(child.get()))
265 else if (ObjectFile *Obj = dyn_cast<ObjectFile>(Binary.get()))
  /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)
30 error_code ObjectFile::getSymbolAlignment(DataRefImpl DRI,
36 section_iterator ObjectFile::getRelocatedSection(DataRefImpl Sec) const {
40 ObjectFile *ObjectFile::createObjectFile(MemoryBuffer *Object)
    [all...]
Object.cpp 16 #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
62 return wrap(ObjectFile::createObjectFile(unwrap(MemBuf)));
65 void LLVMDisposeObjectFile(LLVMObjectFileRef ObjectFile) {
66 delete unwrap(ObjectFile);
69 // ObjectFile Section iterator
    [all...]
Android.mk 12 ObjectFile.cpp
ELFObjectFile.cpp 24 ObjectFile *ObjectFile::createELFObjectFile(MemoryBuffer *Object) {
MachOUniversal.cpp 17 #include "llvm/Object/ObjectFile.h"
76 OwningPtr<ObjectFile> &Result) const {
85 if (ObjectFile *Obj = ObjectFile::createMachOObjectFile(ObjBuffer)) {
130 OwningPtr<ObjectFile> &Result) const {
Binary.cpp 24 #include "llvm/Object/ObjectFile.h"
64 ObjectFile::createELFObjectFile(scopedSource.take()));
81 ObjectFile::createMachOObjectFile(scopedSource.take()));
96 ObjectFile::createCOFFObjectFile(scopedSource.take()));
  /external/llvm/lib/ExecutionEngine/RuntimeDyld/
ObjectImageCommon.h 19 #include "llvm/Object/ObjectFile.h"
28 object::ObjectFile *ObjFile;
31 // format-specific subclasses of ObjectFile directly
32 ObjectImageCommon(ObjectBuffer *Input, object::ObjectFile *Obj)
42 ObjFile = object::ObjectFile::createObjectFile(Buffer->getMemBuffer());
61 virtual object::ObjectFile* getObjectFile() const { return ObjFile; }
  /external/llvm/tools/llvm-objdump/
llvm-objdump.h 22 class ObjectFile;
36 void printELFFileHeader(const object::ObjectFile *o);
ELFDump.cpp 80 void llvm::printELFFileHeader(const object::ObjectFile *Obj) {
  /external/llvm/include/llvm-c/
Object.h 42 // 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/include/llvm/Object/
MachOUniversal.h 26 class ObjectFile;
55 error_code getAsObjectFile(OwningPtr<ObjectFile> &Result) const;
96 OwningPtr<ObjectFile> &Result) const;
ObjectFile.h 1 //===- ObjectFile.h - File format independent object file -------*- C++ -*-===//
10 // This file declares a file format independent ObjectFile class.
28 class ObjectFile;
94 const ObjectFile *OwningObject;
99 RelocationRef(DataRefImpl RelocationP, const ObjectFile *Owner);
127 const ObjectFile *getObjectFile() const;
138 const ObjectFile *OwningObject;
143 SectionRef(DataRefImpl SectionP, const ObjectFile *Owner);
181 const ObjectFile *OwningObject;
207 SymbolRef(DataRefImpl SymbolP, const ObjectFile *Owner)
    [all...]
MachO.h 10 // This file declares the MachOObjectFile class, which implement the ObjectFile
22 #include "llvm/Object/ObjectFile.h"
33 const ObjectFile *OwningObject;
38 DiceRef(DataRefImpl DiceP, const ObjectFile *Owner);
50 const ObjectFile *getObjectFile() const;
54 class MachOObjectFile : public ObjectFile {
215 inline DiceRef::DiceRef(DataRefImpl DiceP, const ObjectFile *Owner)
236 // the OwningObject ObjectFile is a MachOObjectFile a static_cast<> is used for
267 inline const ObjectFile *DiceRef::getObjectFile() const {
  /external/llvm/include/llvm/ExecutionEngine/
ObjectImage.h 18 #include "llvm/Object/ObjectFile.h"
23 /// ObjectImage - A container class that represents an ObjectFile that has been
53 virtual object::ObjectFile* getObjectFile() const = 0;
  /external/llvm/tools/llvm-symbolizer/
LLVMSymbolize.h 20 #include "llvm/Object/ObjectFile.h"
71 ObjectFile *getObjectFileFromBinary(Binary *Bin, const std::string &ArchName);
82 typedef std::map<std::pair<MachOUniversalBinary *, std::string>, ObjectFile *>
92 ModuleInfo(ObjectFile *Obj, DIContext *DICtx);
105 ObjectFile *Module;
LLVMSymbolize.cpp 49 ModuleInfo::ModuleInfo(ObjectFile *Obj, DIContext *DICtx)
252 ObjectFile *
256 ObjectFile *Res = 0;
262 OwningPtr<ObjectFile> ParsedObj;
269 Res = cast<ObjectFile>(Bin);
291 ObjectFile *Obj = getObjectFileFromBinary(Binaries.first, ArchName);
292 ObjectFile *DbgObj = getObjectFileFromBinary(Binaries.second, ArchName);
  /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-dwarfdump/
llvm-dwarfdump.cpp 18 #include "llvm/Object/ObjectFile.h"
91 OwningPtr<ObjectFile> Obj(ObjectFile::createObjectFile(Buff.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...]

Completed in 155 milliseconds

1 2