/external/llvm/tools/llvm-objdump/ |
D | llvm-objdump.h | 20 class ObjectFile; variable 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/Object/ |
D | ObjectFile.h | 29 class ObjectFile; variable 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); 130 assert(isa<ObjectFile>(BasicSymbolRef::getObject())); in SymbolRef() 151 const ObjectFile *getObject() const; [all …]
|
/external/llvm/lib/Object/ |
D | ObjectFile.cpp | 26 void ObjectFile::anchor() { } in anchor() 28 ObjectFile::ObjectFile(unsigned int Type, MemoryBufferRef Source) in ObjectFile() function in ObjectFile 38 uint64_t ObjectFile::getSymbolValue(DataRefImpl Ref) const { in getSymbolValue() 47 std::error_code ObjectFile::printSymbolName(raw_ostream &OS, in printSymbolName() 56 uint32_t ObjectFile::getSymbolAlignment(DataRefImpl DRI) const { return 0; } in getSymbolAlignment() 58 section_iterator ObjectFile::getRelocatedSection(DataRefImpl Sec) const { in getRelocatedSection() 62 ErrorOr<std::unique_ptr<ObjectFile>> 63 ObjectFile::createObjectFile(MemoryBufferRef Object, sys::fs::file_magic Type) { in createObjectFile() 101 ErrorOr<OwningBinary<ObjectFile>> 102 ObjectFile::createObjectFile(StringRef ObjectPath) { in createObjectFile() [all …]
|
D | Object.cpp | 22 inline OwningBinary<ObjectFile> *unwrap(LLVMObjectFileRef OF) { in unwrap() 23 return reinterpret_cast<OwningBinary<ObjectFile> *>(OF); in unwrap() 26 inline LLVMObjectFileRef wrap(const OwningBinary<ObjectFile> *OF) { in wrap() 28 const_cast<OwningBinary<ObjectFile> *>(OF)); in wrap() 64 ErrorOr<std::unique_ptr<ObjectFile>> ObjOrErr( in LLVMCreateObjectFile() 65 ObjectFile::createObjectFile(Buf->getMemBufferRef())); in LLVMCreateObjectFile() 66 std::unique_ptr<ObjectFile> Obj; in LLVMCreateObjectFile() 70 auto *Ret = new OwningBinary<ObjectFile>(std::move(ObjOrErr.get()), std::move(Buf)); in LLVMCreateObjectFile() 74 void LLVMDisposeObjectFile(LLVMObjectFileRef ObjectFile) { in LLVMDisposeObjectFile() argument 75 delete unwrap(ObjectFile); in LLVMDisposeObjectFile() [all …]
|
D | ELFObjectFile.cpp | 21 : ObjectFile(Type, Source) {} in ELFObjectFileBase() 23 ErrorOr<std::unique_ptr<ObjectFile>> 24 ObjectFile::createELFObjectFile(MemoryBufferRef Obj) { in createELFObjectFile() 34 std::unique_ptr<ObjectFile> R; in createELFObjectFile()
|
/external/llvm/include/llvm/ExecutionEngine/Orc/ |
D | IRCompileLayer.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; in addModuleSet() 123 object::OwningBinary<object::ObjectFile> 127 return object::OwningBinary<object::ObjectFile>(); in tryToLoadFromObjectCache() 129 ErrorOr<std::unique_ptr<object::ObjectFile>> Obj = in tryToLoadFromObjectCache() 130 object::ObjectFile::createObjectFile(ObjBuffer->getMemBufferRef()); in tryToLoadFromObjectCache() 132 return object::OwningBinary<object::ObjectFile>(); in tryToLoadFromObjectCache() 134 return object::OwningBinary<object::ObjectFile>(std::move(*Obj), in tryToLoadFromObjectCache()
|
D | CompileUtils.h | 34 object::OwningBinary<object::ObjectFile> operator()(Module &M) const { in operator() 45 ErrorOr<std::unique_ptr<object::ObjectFile>> Obj = in operator() 46 object::ObjectFile::createObjectFile(ObjBuffer->getMemBufferRef()); in operator() 48 typedef object::OwningBinary<object::ObjectFile> OwningObj; in operator()
|
/external/llvm/lib/ExecutionEngine/OProfileJIT/ |
D | OProfileJITEventListener.cpp | 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, in NotifyObjectEmitted() 85 OwningBinary<ObjectFile> DebugObjOwner = L.getObjectForDebug(Obj); in NotifyObjectEmitted() 86 const ObjectFile &DebugObj = *DebugObjOwner.getBinary(); in NotifyObjectEmitted() 117 void OProfileJITEventListener::NotifyFreeingObject(const ObjectFile &Obj) { in NotifyFreeingObject() 125 const ObjectFile &DebugObj = *DebugObjects[Obj.getData().data()].getBinary(); in NotifyFreeingObject()
|
/external/llvm/include/llvm/DebugInfo/Symbolize/ |
D | Symbolize.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>>>
|
/external/llvm/lib/ExecutionEngine/RuntimeDyld/ |
D | RuntimeDyldCOFF.cpp | 34 OwningBinary<ObjectFile> 35 getObjectForDebug(const ObjectFile &Obj) const override { in getObjectForDebug() 36 return OwningBinary<ObjectFile>(); in getObjectForDebug() 59 RuntimeDyldCOFF::loadObject(const object::ObjectFile &O) { in loadObject() 68 bool RuntimeDyldCOFF::isCompatibleFile(const object::ObjectFile &Obj) const { in isCompatibleFile()
|
D | RuntimeDyldMachO.h | 66 const ObjectFile &BaseTObj, in getRelocationEntry() 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,
|
D | RuntimeDyldImpl.h | 349 virtual void setMipsABI(const ObjectFile &Obj) { in setMipsABI() 364 void emitCommonSymbols(const ObjectFile &Obj, CommonSymbolList &CommonSymbols); 370 unsigned emitSection(const ObjectFile &Obj, const SectionRef &Section, 378 unsigned findOrEmitSection(const ObjectFile &Obj, const SectionRef &Section, 406 const ObjectFile &Obj, ObjSectionToIDMap &ObjSectionToID, 414 void computeTotalAllocSize(const ObjectFile &Obj, uint64_t &CodeSize, 418 unsigned computeSectionStubBufSize(const ObjectFile &Obj, 422 ObjSectionToIDMap loadObjectImpl(const object::ObjectFile &Obj); 447 loadObject(const object::ObjectFile &Obj) = 0; 491 virtual bool isCompatibleFile(const ObjectFile &Obj) const = 0; [all …]
|
D | RuntimeDyldELF.h | 91 void setMipsABI(const ObjectFile &Obj) override; 163 loadObject(const object::ObjectFile &O) override; 168 const ObjectFile &Obj, 171 bool isCompatibleFile(const object::ObjectFile &Obj) const override; 174 void finalizeLoad(const ObjectFile &Obj,
|
/external/llvm/include/llvm-c/ |
D | Object.h | 44 void LLVMDisposeObjectFile(LLVMObjectFileRef ObjectFile); 47 LLVMSectionIteratorRef LLVMGetSections(LLVMObjectFileRef ObjectFile); 49 LLVMBool LLVMIsSectionIteratorAtEnd(LLVMObjectFileRef ObjectFile, 56 LLVMSymbolIteratorRef LLVMGetSymbols(LLVMObjectFileRef ObjectFile); 58 LLVMBool LLVMIsSymbolIteratorAtEnd(LLVMObjectFileRef ObjectFile,
|
/external/llvm/lib/ExecutionEngine/IntelJITEvents/ |
D | IntelJITEventListener.cpp | 49 std::map<const char*, OwningBinary<ObjectFile>> DebugObjects; 59 void NotifyObjectEmitted(const ObjectFile &Obj, 62 void NotifyFreeingObject(const ObjectFile &Obj) override; 99 const ObjectFile &Obj, in NotifyObjectEmitted() 102 OwningBinary<ObjectFile> DebugObjOwner = L.getObjectForDebug(Obj); in NotifyObjectEmitted() 103 const ObjectFile &DebugObj = *DebugObjOwner.getBinary(); in NotifyObjectEmitted() 178 void IntelJITEventListener::NotifyFreeingObject(const ObjectFile &Obj) { in NotifyFreeingObject() 185 const ObjectFile &DebugObj = *DebugObjects[Obj.getData().data()].getBinary(); in NotifyFreeingObject()
|
/external/llvm/lib/ExecutionEngine/ |
D | GDBRegistrationListener.cpp | 69 OwningBinary<ObjectFile> Obj) in RegisteredObjectInfo() 84 OwningBinary<ObjectFile> Obj; 111 void NotifyObjectEmitted(const ObjectFile &Object, 117 void NotifyFreeingObject(const ObjectFile &Object) override; 160 const ObjectFile &Object, in NotifyObjectEmitted() 163 OwningBinary<ObjectFile> DebugObj = L.getObjectForDebug(Object); in NotifyObjectEmitted() 193 void GDBJITRegistrationListener::NotifyFreeingObject(const ObjectFile& Object) { in NotifyFreeingObject()
|
/external/llvm/tools/llvm-size/ |
D | llvm-size.cpp | 265 static void PrintObjectSectionSizes(ObjectFile *Obj) { in PrintObjectSectionSizes() 385 static bool checkMachOAndArchFlags(ObjectFile *o, StringRef file) { in checkMachOAndArchFlags() 442 if (ObjectFile *o = dyn_cast<ObjectFile>(&*ChildOrErr.get())) { in PrintFileSectionSizes() 472 ErrorOr<std::unique_ptr<ObjectFile>> UO = I->getAsObjectFile(); in PrintFileSectionSizes() 474 if (ObjectFile *o = dyn_cast<ObjectFile>(&*UO.get())) { in PrintFileSectionSizes() 511 if (ObjectFile *o = dyn_cast<ObjectFile>(&*ChildOrErr.get())) { in PrintFileSectionSizes() 555 ErrorOr<std::unique_ptr<ObjectFile>> UO = I->getAsObjectFile(); in PrintFileSectionSizes() 557 if (ObjectFile *o = dyn_cast<ObjectFile>(&*UO.get())) { in PrintFileSectionSizes() 594 if (ObjectFile *o = dyn_cast<ObjectFile>(&*ChildOrErr.get())) { in PrintFileSectionSizes() 625 ErrorOr<std::unique_ptr<ObjectFile>> UO = I->getAsObjectFile(); in PrintFileSectionSizes() [all …]
|
/external/llvm/tools/llvm-readobj/ |
D | ObjDumper.h | 19 class ObjectFile; variable 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/llvm-dwarfdump/fuzzer/ |
D | llvm-dwarfdump-fuzzer.cpp | 27 ErrorOr<std::unique_ptr<ObjectFile>> ObjOrErr = in LLVMFuzzerTestOneInput() 28 ObjectFile::createObjectFile(Buff->getMemBufferRef()); in LLVMFuzzerTestOneInput() 31 ObjectFile &Obj = *ObjOrErr.get(); in LLVMFuzzerTestOneInput()
|
/external/llvm/lib/ExecutionEngine/Orc/ |
D | OrcMCJITReplacement.h | 78 const object::ObjectFile &O) override { in notifyObjectLoaded() 166 void addObjectFile(std::unique_ptr<object::ObjectFile> O) override { in addObjectFile() 167 std::vector<std::unique_ptr<object::ObjectFile>> Objs; in addObjectFile() 172 void addObjectFile(object::OwningBinary<object::ObjectFile> O) override { in addObjectFile() 173 std::unique_ptr<object::ObjectFile> Obj; in addObjectFile() 176 std::vector<std::unique_ptr<object::ObjectFile>> Objs; in addObjectFile() 265 std::vector<std::unique_ptr<object::ObjectFile>> ObjSet; in scanArchives() 266 ObjSet.push_back(std::unique_ptr<object::ObjectFile>( in scanArchives() 267 static_cast<object::ObjectFile *>(ChildBin.release()))); in scanArchives() 279 typedef std::vector<std::unique_ptr<object::ObjectFile>> ObjListT;
|
/external/llvm/tools/dsymutil/ |
D | BinaryHolder.h | 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 *>> 118 ErrorOr<const object::ObjectFile &> Get(const Triple &T) { in Get()
|
/external/llvm/lib/DebugInfo/Symbolize/ |
D | Symbolize.cpp | 180 static bool getGNUDebuglinkContents(const ObjectFile *Obj, std::string &DebugName, in getGNUDebuglinkContents() 218 ObjectFile *LLVMSymbolizer::lookUpDsymFile(const std::string &ExePath, in lookUpDsymFile() 232 ObjectFile *DbgObj = DbgObjOrErr.get(); in lookUpDsymFile() 242 ObjectFile *LLVMSymbolizer::lookUpDebuglinkObject(const std::string &Path, in lookUpDebuglinkObject() 243 const ObjectFile *Obj, in lookUpDebuglinkObject() 272 ObjectFile *Obj = ObjOrErr.get(); in getOrCreateObjectPair() 274 ObjectFile *DbgObj = nullptr; in getOrCreateObjectPair() 288 ErrorOr<ObjectFile *> 316 ErrorOr<std::unique_ptr<ObjectFile>> ObjOrErr = in getOrCreateObject() 323 ObjectFile *Res = ObjOrErr->get(); in getOrCreateObject() [all …]
|
/external/llvm/include/llvm/ExecutionEngine/ |
D | JITEventListener.h | 31 class ObjectFile; variable 74 virtual void NotifyObjectEmitted(const object::ObjectFile &Obj, in NotifyObjectEmitted() 79 virtual void NotifyFreeingObject(const object::ObjectFile &Obj) {} in NotifyFreeingObject()
|
/external/llvm/tools/obj2yaml/ |
D | obj2yaml.cpp | 22 static std::error_code dumpObject(const ObjectFile &Obj) { in dumpObject() 38 if (ObjectFile *Obj = dyn_cast<ObjectFile>(&Binary)) in dumpInput()
|
/external/llvm/bindings/python/llvm/ |
D | object.py | 100 class ObjectFile(LLVMObject): class 294 assert isinstance(object_file, ObjectFile) 434 library.LLVMDisposeObjectFile.argtypes = [ObjectFile] 436 library.LLVMGetSections.argtypes = [ObjectFile] 441 library.LLVMIsSectionIteratorAtEnd.argtypes = [ObjectFile, c_object_p] 448 library.LLVMGetSymbols.argtypes = [ObjectFile] 453 library.LLVMIsSymbolIteratorAtEnd.argtypes = [ObjectFile, c_object_p]
|