Home | History | Annotate | Download | only in MC

Lines Matching refs:MSD

212     void WriteSymbol(SymbolTableWriter &Writer, ELFSymbolData &MSD,
579 void ELFObjectWriter::WriteSymbol(SymbolTableWriter &Writer, ELFSymbolData &MSD,
581 MCSymbolData &OrigData = *MSD.SymbolData;
623 Writer.writeSymbol(MSD.StringIndex, Info, Value, Size, Other,
624 MSD.SectionIndex, IsReserved);
650 ELFSymbolData &MSD = LocalSymbolData[i];
651 WriteSymbol(Writer, MSD, Layout);
671 ELFSymbolData &MSD = ExternalSymbolData[i];
672 MCSymbolData &Data = *MSD.SymbolData;
676 WriteSymbol(Writer, MSD, Layout);
682 ELFSymbolData &MSD = UndefinedSymbolData[i];
683 MCSymbolData &Data = *MSD.SymbolData;
684 WriteSymbol(Writer, MSD, Layout);
1019 ELFSymbolData MSD;
1020 MSD.SymbolData = &SD;
1034 MSD.SectionIndex = ELF::SHN_ABS;
1037 MSD.SectionIndex = ELF::SHN_COMMON;
1040 MSD.SectionIndex = SectionIndexMap.lookup(RevGroupMap[&Symbol]);
1042 MSD.SectionIndex = ELF::SHN_UNDEF;
1048 MSD.SectionIndex = SectionIndexMap.lookup(&Section);
1049 assert(MSD.SectionIndex && "Invalid section index!");
1059 unsigned Skip = MSD.SectionIndex == ELF::SHN_UNDEF ? 2 : 1;
1063 MSD.Name = StrTabBuilder.add(Name);
1065 if (MSD.SectionIndex == ELF::SHN_UNDEF)
1066 UndefinedSymbolData.push_back(MSD);
1068 LocalSymbolData.push_back(MSD);
1070 ExternalSymbolData.push_back(MSD);
1081 for (ELFSymbolData& MSD : LocalSymbolData)
1082 MSD.StringIndex = StrTabBuilder.getOffset(MSD.Name);
1083 for (ELFSymbolData& MSD : ExternalSymbolData)
1084 MSD.StringIndex = StrTabBuilder.getOffset(MSD.Name);
1085 for (ELFSymbolData& MSD : UndefinedSymbolData)
1086 MSD.StringIndex = StrTabBuilder.getOffset(MSD.Name);