Lines Matching defs:Obj
73 ObjectFile::createELFObjectFile(MemoryBufferRef Obj, bool InitContent) {
75 getElfArchType(Obj.getBuffer());
78 reinterpret_cast<uintptr_t>(Obj.getBufferStart()));
85 return createPtr<ELF32LE>(Obj, InitContent);
87 return createPtr<ELF32BE>(Obj, InitContent);
92 return createPtr<ELF64LE>(Obj, InitContent);
94 return createPtr<ELF64BE>(Obj, InitContent);
994 if (const auto *Obj = dyn_cast<ELF32LEObjectFile>(this))
995 return readDynsymVersionsImpl(Obj->getELFFile(), Symbols);
996 if (const auto *Obj = dyn_cast<ELF32BEObjectFile>(this))
997 return readDynsymVersionsImpl(Obj->getELFFile(), Symbols);
998 if (const auto *Obj = dyn_cast<ELF64LEObjectFile>(this))
999 return readDynsymVersionsImpl(Obj->getELFFile(), Symbols);
1007 if (const auto *Obj = dyn_cast<ELF32LEObjectFile>(this))
1008 return readBBAddrMapImpl(Obj->getELFFile(), TextSectionIndex, PGOAnalyses);
1009 if (const auto *Obj = dyn_cast<ELF64LEObjectFile>(this))
1010 return readBBAddrMapImpl(Obj->getELFFile(), TextSectionIndex, PGOAnalyses);
1011 if (const auto *Obj = dyn_cast<ELF32BEObjectFile>(this))
1012 return readBBAddrMapImpl(Obj->getELFFile(), TextSectionIndex, PGOAnalyses);
1019 if (const auto *Obj = dyn_cast<ELF32LEObjectFile>(this))
1020 return Obj->getCrelDecodeProblem(Data);
1021 if (const auto *Obj = dyn_cast<ELF32BEObjectFile>(this))
1022 return Obj->getCrelDecodeProblem(Data);
1023 if (const auto *Obj = dyn_cast<ELF64LEObjectFile>(this))
1024 return Obj->getCrelDecodeProblem(Data);