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

1 2 3 4 5

  /external/llvm/tools/llvm-dwarfdump/fuzzer/
llvm-dwarfdump-fuzzer.cpp 17 #include "llvm/Object/ObjectFile.h"
27 ErrorOr<std::unique_ptr<ObjectFile>> ObjOrErr =
28 ObjectFile::createObjectFile(Buff->getMemBufferRef());
31 ObjectFile &Obj = *ObjOrErr.get();
  /external/llvm/include/llvm/Object/
SymbolSize.h 14 #include "llvm/Object/ObjectFile.h"
19 computeSymbolSizes(const ObjectFile &O);
ObjectFile.h 1 //===- ObjectFile.h - File format independent object file -------*- C++ -*-===//
10 // This file declares a file format independent ObjectFile class.
29 class ObjectFile;
42 const ObjectFile *OwningObject;
47 RelocationRef(DataRefImpl RelocationP, const ObjectFile *Owner);
63 const ObjectFile *getObject() const;
72 const ObjectFile *OwningObject;
77 SectionRef(DataRefImpl SectionP, const ObjectFile *Owner);
108 const ObjectFile *getObject() const;
128 SymbolRef(DataRefImpl SymbolP, const ObjectFile *Owner)
    [all...]
  /external/llvm/tools/llvm-objdump/
llvm-objdump.h 20 class ObjectFile;
68 void printELFFileHeader(const object::ObjectFile *o);
69 void printCOFFFileHeader(const object::ObjectFile *o);
71 void printMachOFileHeader(const object::ObjectFile *o);
72 void printExportsTrie(const object::ObjectFile *o);
73 void printRebaseTable(const object::ObjectFile *o);
74 void printBindTable(const object::ObjectFile *o);
75 void printLazyBindTable(const object::ObjectFile *o);
76 void printWeakBindTable(const object::ObjectFile *o);
77 void printRawClangAST(const object::ObjectFile *o)
    [all...]
  /external/llvm/include/llvm/ExecutionEngine/Orc/
CompileUtils.h 20 #include "llvm/Object/ObjectFile.h"
27 /// ObjectFile.
33 /// @brief Compile a Module to an ObjectFile.
34 object::OwningBinary<object::ObjectFile> operator()(Module &M) const {
45 ErrorOr<std::unique_ptr<object::ObjectFile>> Obj =
46 object::ObjectFile::createObjectFile(ObjBuffer->getMemBufferRef());
48 typedef object::OwningBinary<object::ObjectFile> OwningObj;
IRCompileLayer.h 20 #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;
123 object::OwningBinary<object::ObjectFile>
127 return object::OwningBinary<object::ObjectFile>();
129 ErrorOr<std::unique_ptr<object::ObjectFile>> Obj =
130 object::ObjectFile::createObjectFile(ObjBuffer->getMemBufferRef());
132 return object::OwningBinary<object::ObjectFile>();
134 return object::OwningBinary<object::ObjectFile>(std::move(*Obj)
    [all...]
  /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.
16 #include "llvm/Object/ObjectFile.h"
26 void ObjectFile::anchor() { }
28 ObjectFile::ObjectFile(unsigned int Type, MemoryBufferRef Source)
38 uint64_t ObjectFile::getSymbolValue(DataRefImpl Ref) const {
47 std::error_code ObjectFile::printSymbolName(raw_ostream &OS,
56 uint32_t ObjectFile::getSymbolAlignment(DataRefImpl DRI) const { return 0; }
58 section_iterator ObjectFile::getRelocatedSection(DataRefImpl Sec) const
    [all...]
ELFObjectFile.cpp 21 : ObjectFile(Type, Source) {}
23 ErrorOr<std::unique_ptr<ObjectFile>>
24 ObjectFile::createELFObjectFile(MemoryBufferRef Obj) {
34 std::unique_ptr<ObjectFile> R;
Object.cpp 17 #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>(std::move(ObjOrErr.get()), std::move(Buf))
    [all...]
  /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/lib/ExecutionEngine/RuntimeDyld/
RuntimeDyldCOFF.cpp 19 #include "llvm/Object/ObjectFile.h"
34 OwningBinary<ObjectFile>
35 getObjectForDebug(const ObjectFile &Obj) const override {
36 return OwningBinary<ObjectFile>();
59 RuntimeDyldCOFF::loadObject(const object::ObjectFile &O) {
68 bool RuntimeDyldCOFF::isCompatibleFile(const object::ObjectFile &Obj) const {
RuntimeDyldCOFF.h 32 loadObject(const object::ObjectFile &Obj) override;
33 bool isCompatibleFile(const object::ObjectFile &Obj) const override;
RuntimeDyldMachO.h 66 const ObjectFile &BaseTObj,
85 const ObjectFile &BaseObjT,
97 RelocationValueRef getRelocationValueRef(const ObjectFile &BaseTObj,
129 loadObject(const object::ObjectFile &O) override;
133 bool isCompatibleFile(const object::ObjectFile &Obj) const override;
157 void finalizeLoad(const ObjectFile &Obj,
  /external/llvm/include/llvm/ExecutionEngine/
JITEventListener.h 31 class ObjectFile;
74 virtual void NotifyObjectEmitted(const object::ObjectFile &Obj,
79 virtual void NotifyFreeingObject(const object::ObjectFile &Obj) {}
RuntimeDyld.h 20 #include "llvm/Object/ObjectFile.h"
29 class ObjectFile;
69 virtual object::OwningBinary<object::ObjectFile>
70 getObjectForDebug(const object::ObjectFile &Obj) const = 0;
199 std::unique_ptr<LoadedObjectInfo> loadObject(const object::ObjectFile &O);
RTDyldMemoryManager.h 28 class ObjectFile;
44 const object::ObjectFile &) {}
  /external/llvm/lib/ExecutionEngine/OProfileJIT/
OProfileJITEventListener.cpp 22 #include "llvm/Object/ObjectFile.h"
41 std::map<const char*, OwningBinary<ObjectFile>> DebugObjects;
51 void NotifyObjectEmitted(const ObjectFile &Obj,
54 void NotifyFreeingObject(const ObjectFile &Obj) override;
79 const ObjectFile &Obj,
85 OwningBinary<ObjectFile> DebugObjOwner = L.getObjectForDebug(Obj);
86 const ObjectFile &DebugObj = *DebugObjOwner.getBinary();
117 void OProfileJITEventListener::NotifyFreeingObject(const ObjectFile &Obj) {
125 const ObjectFile &DebugObj = *DebugObjects[Obj.getData().data()].getBinary();
  /external/llvm/tools/llvm-readobj/
ObjDumper.h 19 class ObjectFile;
75 std::error_code createCOFFDumper(const object::ObjectFile *Obj,
79 std::error_code createELFDumper(const object::ObjectFile *Obj,
83 std::error_code createMachODumper(const object::ObjectFile *Obj,
  /external/llvm/tools/obj2yaml/
obj2yaml.h 23 const llvm::object::ObjectFile &Obj);
obj2yaml.cpp 22 static std::error_code dumpObject(const ObjectFile &Obj) {
38 if (ObjectFile *Obj = dyn_cast<ObjectFile>(&Binary))
  /external/llvm/include/llvm/DebugInfo/Symbolize/
Symbolize.h 17 #include "llvm/Object/ObjectFile.h"
64 typedef std::pair<ObjectFile*, ObjectFile*> ObjectPair;
68 ObjectFile *lookUpDsymFile(const std::string &Path,
71 ObjectFile *lookUpDebuglinkObject(const std::string &Path,
72 const ObjectFile *Obj,
82 ErrorOr<ObjectFile *> getOrCreateObject(const std::string &Path,
96 std::map<std::pair<std::string, std::string>, ErrorOr<std::unique_ptr<ObjectFile>>>
SymbolizableModule.h 22 class ObjectFile;
  /external/llvm/tools/dsymutil/
BinaryHolder.h 21 #include "llvm/Object/ObjectFile.h"
30 /// owning ObjectFile objects and their underlying MemoryBuffer. This
43 std::vector<std::unique_ptr<object::ObjectFile>> CurrentObjectFiles;
79 ErrorOr<const object::ObjectFile &> getObjfileForArch(const Triple &T);
91 ErrorOr<std::vector<const object::ObjectFile *>>
95 /// Wraps GetObjectFiles() to return a derived ObjectFile type.
115 /// Access the currently owned ObjectFile with architecture \p T. As
118 ErrorOr<const object::ObjectFile &> Get(const Triple &T) {
123 /// ObjectFile. The conversion must be known to be valid.
  /external/llvm/lib/DebugInfo/Symbolize/
SymbolizableObjectFile.h 29 create(object::ObjectFile *Obj, std::unique_ptr<DIContext> DICtx);
60 object::ObjectFile *Module;
75 SymbolizableObjectFile(object::ObjectFile *Obj,
  /external/llvm/lib/ExecutionEngine/
GDBRegistrationListener.cpp 12 #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) {

Completed in 1405 milliseconds

1 2 3 4 5