Home
last modified time | relevance | path

Searched refs:ObjectFile (Results 1 – 25 of 255) sorted by relevance

1234567891011

/external/swiftshader/third_party/llvm-7.0/llvm/lib/ObjectYAML/
DObjectYAML.cpp24 YamlObjectFile &ObjectFile) { in mapping() argument
26 if (ObjectFile.Elf) in mapping()
27 MappingTraits<ELFYAML::Object>::mapping(IO, *ObjectFile.Elf); in mapping()
28 if (ObjectFile.Coff) in mapping()
29 MappingTraits<COFFYAML::Object>::mapping(IO, *ObjectFile.Coff); in mapping()
30 if (ObjectFile.MachO) in mapping()
31 MappingTraits<MachOYAML::Object>::mapping(IO, *ObjectFile.MachO); in mapping()
32 if (ObjectFile.FatMachO) in mapping()
34 *ObjectFile.FatMachO); in mapping()
37 ObjectFile.Elf.reset(new ELFYAML::Object()); in mapping()
[all …]
/external/llvm/lib/ObjectYAML/
DObjectYAML.cpp21 YamlObjectFile &ObjectFile) { in mapping() argument
23 if (ObjectFile.Elf) in mapping()
24 MappingTraits<ELFYAML::Object>::mapping(IO, *ObjectFile.Elf); in mapping()
25 if (ObjectFile.Coff) in mapping()
26 MappingTraits<COFFYAML::Object>::mapping(IO, *ObjectFile.Coff); in mapping()
27 if (ObjectFile.MachO) in mapping()
28 MappingTraits<MachOYAML::Object>::mapping(IO, *ObjectFile.MachO); in mapping()
29 if (ObjectFile.FatMachO) in mapping()
31 *ObjectFile.FatMachO); in mapping()
34 ObjectFile.Elf.reset(new ELFYAML::Object()); in mapping()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Object/
DObjectFile.cpp36 void ObjectFile::anchor() {} in anchor()
38 ObjectFile::ObjectFile(unsigned int Type, MemoryBufferRef Source) in ObjectFile() function in ObjectFile
51 uint64_t ObjectFile::getSymbolValue(DataRefImpl Ref) const { in getSymbolValue()
60 std::error_code ObjectFile::printSymbolName(raw_ostream &OS, in printSymbolName()
69 uint32_t ObjectFile::getSymbolAlignment(DataRefImpl DRI) const { return 0; } in getSymbolAlignment()
71 bool ObjectFile::isSectionBitcode(DataRefImpl Sec) const { in isSectionBitcode()
78 bool ObjectFile::isSectionStripped(DataRefImpl Sec) const { return false; } in isSectionStripped()
80 section_iterator ObjectFile::getRelocatedSection(DataRefImpl Sec) const { in getRelocatedSection()
84 Triple ObjectFile::makeTriple() const { in makeTriple()
109 Expected<std::unique_ptr<ObjectFile>>
[all …]
DObject.cpp22 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 Expected<std::unique_ptr<ObjectFile>> ObjOrErr( in LLVMCreateObjectFile()
65 ObjectFile::createObjectFile(Buf->getMemBufferRef())); in LLVMCreateObjectFile()
66 std::unique_ptr<ObjectFile> Obj; in LLVMCreateObjectFile()
73 auto *Ret = new OwningBinary<ObjectFile>(std::move(ObjOrErr.get()), std::move(Buf)); in LLVMCreateObjectFile()
77 void LLVMDisposeObjectFile(LLVMObjectFileRef ObjectFile) { in LLVMDisposeObjectFile() argument
78 delete unwrap(ObjectFile); in LLVMDisposeObjectFile()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-objdump/
Dllvm-objdump.h25 class ObjectFile; variable
81 void printELFFileHeader(const object::ObjectFile *o);
82 void printELFDynamicSection(const object::ObjectFile *Obj);
83 void printCOFFFileHeader(const object::ObjectFile *o);
86 void printMachOFileHeader(const object::ObjectFile *o);
87 void printMachOLoadCommands(const object::ObjectFile *o);
88 void printWasmFileHeader(const object::ObjectFile *o);
89 void printExportsTrie(const object::ObjectFile *o);
90 void printRebaseTable(object::ObjectFile *o);
91 void printBindTable(object::ObjectFile *o);
[all …]
/external/llvm/include/llvm/Object/
DObjectFile.h29 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);
110 const ObjectFile *getObject() const;
130 SymbolRef(DataRefImpl SymbolP, const ObjectFile *Owner);
132 assert(isa<ObjectFile>(BasicSymbolRef::getObject())); in SymbolRef()
153 const ObjectFile *getObject() const;
[all …]
/external/llvm/tools/llvm-objdump/
Dllvm-objdump.h24 class ObjectFile; variable
75 void printELFFileHeader(const object::ObjectFile *o);
76 void printCOFFFileHeader(const object::ObjectFile *o);
78 void printMachOFileHeader(const object::ObjectFile *o);
79 void printMachOLoadCommands(const object::ObjectFile *o);
80 void printExportsTrie(const object::ObjectFile *o);
81 void printRebaseTable(const object::ObjectFile *o);
82 void printBindTable(const object::ObjectFile *o);
83 void printLazyBindTable(const object::ObjectFile *o);
84 void printWeakBindTable(const object::ObjectFile *o);
[all …]
/external/llvm/lib/Object/
DObjectFile.cpp26 void ObjectFile::anchor() { } in anchor()
28 ObjectFile::ObjectFile(unsigned int Type, MemoryBufferRef Source) in ObjectFile() function in ObjectFile
41 uint64_t ObjectFile::getSymbolValue(DataRefImpl Ref) const { in getSymbolValue()
50 std::error_code ObjectFile::printSymbolName(raw_ostream &OS, in printSymbolName()
59 uint32_t ObjectFile::getSymbolAlignment(DataRefImpl DRI) const { return 0; } in getSymbolAlignment()
61 bool ObjectFile::isSectionBitcode(DataRefImpl Sec) const { in isSectionBitcode()
68 section_iterator ObjectFile::getRelocatedSection(DataRefImpl Sec) const { in getRelocatedSection()
72 Expected<std::unique_ptr<ObjectFile>>
73 ObjectFile::createObjectFile(MemoryBufferRef Object, sys::fs::file_magic Type) { in createObjectFile()
111 Expected<OwningBinary<ObjectFile>>
[all …]
DObject.cpp22 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 Expected<std::unique_ptr<ObjectFile>> ObjOrErr( in LLVMCreateObjectFile()
65 ObjectFile::createObjectFile(Buf->getMemBufferRef())); in LLVMCreateObjectFile()
66 std::unique_ptr<ObjectFile> Obj; in LLVMCreateObjectFile()
73 auto *Ret = new OwningBinary<ObjectFile>(std::move(ObjOrErr.get()), std::move(Buf)); in LLVMCreateObjectFile()
77 void LLVMDisposeObjectFile(LLVMObjectFileRef ObjectFile) { in LLVMDisposeObjectFile() argument
78 delete unwrap(ObjectFile); in LLVMDisposeObjectFile()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Object/
DObjectFile.h42 class ObjectFile; variable
54 const ObjectFile *OwningObject = nullptr;
58 RelocationRef(DataRefImpl RelocationP, const ObjectFile *Owner);
74 const ObjectFile *getObject() const;
85 const ObjectFile *OwningObject = nullptr;
89 SectionRef(DataRefImpl SectionP, const ObjectFile *Owner);
124 const ObjectFile *getObject() const;
143 SymbolRef(DataRefImpl SymbolP, const ObjectFile *Owner);
145 assert(isa<ObjectFile>(BasicSymbolRef::getObject())); in SymbolRef()
166 const ObjectFile *getObject() const;
[all …]
/external/swiftshader/third_party/LLVM/include/llvm/Object/
DObjectFile.h27 class ObjectFile; variable
86 const ObjectFile *OwningObject;
100 SymbolRef(DataRefImpl SymbolP, const ObjectFile *Owner);
132 const ObjectFile *OwningObject;
139 RelocationRef(DataRefImpl RelocationP, const ObjectFile *Owner);
168 const ObjectFile *OwningObject;
175 SectionRef(DataRefImpl SectionP, const ObjectFile *Owner);
206 class ObjectFile : public Binary {
208 ObjectFile(); // = delete
209 ObjectFile(const ObjectFile &other); // = delete
[all …]
/external/swiftshader/third_party/LLVM/include/llvm-c/
DObject.h37 void LLVMDisposeObjectFile(LLVMObjectFileRef ObjectFile);
39 LLVMSectionIteratorRef LLVMGetSections(LLVMObjectFileRef ObjectFile);
41 LLVMBool LLVMIsSectionIteratorAtEnd(LLVMObjectFileRef ObjectFile,
54 inline ObjectFile *unwrap(LLVMObjectFileRef OF) { in unwrap()
55 return reinterpret_cast<ObjectFile*>(OF); in unwrap()
58 inline LLVMObjectFileRef wrap(const ObjectFile *OF) { in wrap()
59 return reinterpret_cast<LLVMObjectFileRef>(const_cast<ObjectFile*>(OF)); in wrap()
/external/llvm/include/llvm/ExecutionEngine/Orc/
DIRCompileLayer.h34 typedef std::function<object::OwningBinary<object::ObjectFile>(Module &)>
62 std::vector<std::unique_ptr<object::OwningBinary<object::ObjectFile>>> in addModuleSet()
67 llvm::make_unique<object::OwningBinary<object::ObjectFile>>(); in addModuleSet()
121 object::OwningBinary<object::ObjectFile>
125 return object::OwningBinary<object::ObjectFile>(); in tryToLoadFromObjectCache()
127 Expected<std::unique_ptr<object::ObjectFile>> Obj = in tryToLoadFromObjectCache()
128 object::ObjectFile::createObjectFile(ObjBuffer->getMemBufferRef()); in tryToLoadFromObjectCache()
132 return object::OwningBinary<object::ObjectFile>(); in tryToLoadFromObjectCache()
135 return object::OwningBinary<object::ObjectFile>(std::move(*Obj), in tryToLoadFromObjectCache()
/external/swiftshader/third_party/LLVM/lib/Object/
DObject.cpp22 return wrap(ObjectFile::createObjectFile(unwrap(MemBuf))); in LLVMCreateObjectFile()
25 void LLVMDisposeObjectFile(LLVMObjectFileRef ObjectFile) { in LLVMDisposeObjectFile() argument
26 delete unwrap(ObjectFile); in LLVMDisposeObjectFile()
29 LLVMSectionIteratorRef LLVMGetSections(LLVMObjectFileRef ObjectFile) { in LLVMGetSections() argument
30 section_iterator SI = unwrap(ObjectFile)->begin_sections(); in LLVMGetSections()
38 LLVMBool LLVMIsSectionIteratorAtEnd(LLVMObjectFileRef ObjectFile, in LLVMIsSectionIteratorAtEnd() argument
40 return (*unwrap(SI) == unwrap(ObjectFile)->end_sections()) ? 1 : 0; in LLVMIsSectionIteratorAtEnd()
DObjectFile.cpp24 ObjectFile::ObjectFile(unsigned int Type, MemoryBuffer *source, error_code &ec) in ObjectFile() function in ObjectFile
28 ObjectFile *ObjectFile::createObjectFile(MemoryBuffer *Object) { in createObjectFile()
57 ObjectFile *ObjectFile::createObjectFile(StringRef ObjectPath) { in createObjectFile()
/external/llvm/lib/ExecutionEngine/OProfileJIT/
DOProfileJITEventListener.cpp41 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/
DSymbolize.h65 typedef std::pair<ObjectFile*, ObjectFile*> ObjectPair;
74 ObjectFile *lookUpDsymFile(const std::string &Path,
77 ObjectFile *lookUpDebuglinkObject(const std::string &Path,
78 const ObjectFile *Obj,
88 Expected<ObjectFile *> getOrCreateObject(const std::string &Path,
102 std::map<std::pair<std::string, std::string>, std::unique_ptr<ObjectFile>>
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-readobj/
DObjDumper.h22 class ObjectFile; variable
91 void printSectionAsString(const object::ObjectFile *Obj, StringRef SecName);
92 void printSectionAsHex(const object::ObjectFile *Obj, StringRef SecName);
98 std::error_code createCOFFDumper(const object::ObjectFile *Obj,
102 std::error_code createELFDumper(const object::ObjectFile *Obj,
106 std::error_code createMachODumper(const object::ObjectFile *Obj,
110 std::error_code createWasmDumper(const object::ObjectFile *Obj,
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/DebugInfo/Symbolize/
DSymbolize.h77 using ObjectPair = std::pair<ObjectFile *, ObjectFile *>;
86 ObjectFile *lookUpDsymFile(const std::string &Path,
89 ObjectFile *lookUpDebuglinkObject(const std::string &Path,
90 const ObjectFile *Obj,
100 Expected<ObjectFile *> getOrCreateObject(const std::string &Path,
114 std::map<std::pair<std::string, std::string>, std::unique_ptr<ObjectFile>>
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/OProfileJIT/
DOProfileJITEventListener.cpp43 std::map<const char*, OwningBinary<ObjectFile>> DebugObjects;
53 void NotifyObjectEmitted(const ObjectFile &Obj,
56 void NotifyFreeingObject(const ObjectFile &Obj) override;
82 const ObjectFile &Obj, in NotifyObjectEmitted()
88 OwningBinary<ObjectFile> DebugObjOwner = L.getObjectForDebug(Obj); in NotifyObjectEmitted()
89 const ObjectFile &DebugObj = *DebugObjOwner.getBinary(); in NotifyObjectEmitted()
143 void OProfileJITEventListener::NotifyFreeingObject(const ObjectFile &Obj) { in NotifyFreeingObject()
151 const ObjectFile &DebugObj = *DebugObjects[Obj.getData().data()].getBinary(); in NotifyFreeingObject()
/external/llvm/lib/ExecutionEngine/RuntimeDyld/
DRuntimeDyldCOFF.cpp35 OwningBinary<ObjectFile>
36 getObjectForDebug(const ObjectFile &Obj) const override { in getObjectForDebug()
37 return OwningBinary<ObjectFile>(); in getObjectForDebug()
60 RuntimeDyldCOFF::loadObject(const object::ObjectFile &O) { in loadObject()
76 bool RuntimeDyldCOFF::isCompatibleFile(const object::ObjectFile &Obj) const { in isCompatibleFile()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/RuntimeDyld/
DRuntimeDyldCOFF.cpp38 OwningBinary<ObjectFile>
39 getObjectForDebug(const ObjectFile &Obj) const override { in getObjectForDebug()
40 return OwningBinary<ObjectFile>(); in getObjectForDebug()
63 RuntimeDyldCOFF::loadObject(const object::ObjectFile &O) { in loadObject()
79 bool RuntimeDyldCOFF::isCompatibleFile(const object::ObjectFile &Obj) const { in isCompatibleFile()
/external/llvm/lib/ExecutionEngine/Orc/
DOrcMCJITReplacement.h81 const object::ObjectFile &O) override { in notifyObjectLoaded()
86 const object::ObjectFile &O) override { in notifyObjectLoaded()
174 void addObjectFile(std::unique_ptr<object::ObjectFile> O) override { in addObjectFile()
175 std::vector<std::unique_ptr<object::ObjectFile>> Objs; in addObjectFile()
180 void addObjectFile(object::OwningBinary<object::ObjectFile> O) override { in addObjectFile()
181 std::vector<std::unique_ptr<object::OwningBinary<object::ObjectFile>>> Objs; in addObjectFile()
183 llvm::make_unique<object::OwningBinary<object::ObjectFile>>( in addObjectFile()
276 std::vector<std::unique_ptr<object::ObjectFile>> ObjSet; in scanArchives()
277 ObjSet.push_back(std::unique_ptr<object::ObjectFile>( in scanArchives()
278 static_cast<object::ObjectFile *>(ChildBin.release()))); in scanArchives()
[all …]
/external/llvm/lib/ExecutionEngine/
DGDBRegistrationListener.cpp69 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/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/
DGDBRegistrationListener.cpp70 OwningBinary<ObjectFile> Obj) in RegisteredObjectInfo()
75 OwningBinary<ObjectFile> Obj;
102 void NotifyObjectEmitted(const ObjectFile &Object,
108 void NotifyFreeingObject(const ObjectFile &Object) override;
151 const ObjectFile &Object, in NotifyObjectEmitted()
154 OwningBinary<ObjectFile> DebugObj = L.getObjectForDebug(Object); in NotifyObjectEmitted()
184 void GDBJITRegistrationListener::NotifyFreeingObject(const ObjectFile& Object) { in NotifyFreeingObject()

1234567891011