reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
628 Obj.reset(new XCOFFObjectFile(Type, MBR)); 631 const auto *Base = Obj->base(); 632 MemoryBufferRef Data = Obj->Data; 636 getObject<void>(Data, Base + CurOffset, Obj->getFileHeaderSize()); 639 Obj->FileHeader = FileHeaderOrErr.get(); 641 CurOffset += Obj->getFileHeaderSize(); 644 CurOffset += Obj->getOptionalHeaderSize(); 647 if (Obj->getNumberOfSections()) { 649 Obj->getNumberOfSections() * 650 Obj->getSectionHeaderSize()); 653 Obj->SectionHeaderTable = SecHeadersOrErr.get(); 657 if (Obj->is64Bit()) 658 return std::move(Obj); 661 if (Obj->getLogicalNumberOfSymbolTableEntries32() == 0) 662 return std::move(Obj); 665 CurOffset = Obj->fileHeader32()->SymbolTableOffset; 667 Obj->getLogicalNumberOfSymbolTableEntries32(); 672 Obj->SymbolTblPtr = SymTableOrErr.get(); 677 parseStringTable(Obj.get(), CurOffset); 680 Obj->StringTable = StringTableOrErr.get(); 682 return std::move(Obj);