Lines Matching refs:sect
700 SectionSP sect = addr.GetSection(); in ReadImageDataByRVA() local
701 if (!sect) in ReadImageDataByRVA()
703 rva = sect->GetFileOffset() + addr.GetOffset(); in ReadImageDataByRVA()
745 llvm::StringRef ObjectFilePECOFF::GetSectionName(const section_header_t §) { in GetSectionName() argument
746 llvm::StringRef hdr_name(sect.name, llvm::array_lengthof(sect.name)); in GetSectionName()
802 symbol.sect = symtab_data.GetU16(&offset); in ParseSymtab()
807 if ((int16_t)symbol.sect >= 1) { in ParseSymtab()
808 Address symbol_addr(sect_list->FindSectionByID(symbol.sect), in ParseSymtab()
904 const section_header_t §) { in GetSectionType() argument
913 if (sect.flags & llvm::COFF::IMAGE_SCN_CNT_CODE && in GetSectionType()
918 if (sect.flags & llvm::COFF::IMAGE_SCN_CNT_INITIALIZED_DATA && in GetSectionType()
921 if (sect.size == 0 && sect.offset == 0) in GetSectionType()
926 if (sect.flags & llvm::COFF::IMAGE_SCN_CNT_UNINITIALIZED_DATA && in GetSectionType()
929 if (sect.size == 0) in GetSectionType()
961 if (sect.flags & llvm::COFF::IMAGE_SCN_CNT_CODE) in GetSectionType()
963 if (sect.flags & llvm::COFF::IMAGE_SCN_CNT_INITIALIZED_DATA) in GetSectionType()
965 if (sect.flags & llvm::COFF::IMAGE_SCN_CNT_UNINITIALIZED_DATA) { in GetSectionType()
966 if (sect.size == 0) in GetSectionType()