Lines Matching refs:SD
211 MCSymbolData &SD = Asm.getSymbolData(Symbol);
224 it->setExternal(SD.isExternal());
225 MCELF::SetBinding(*it, MCELF::GetBinding(SD));
341 const MCSymbolData &SD = Asm.getSymbolData(Symbol);
349 if (SD.isExternal()) {
425 MCSymbolData &SD = Asm.getSymbolData(ASymbol);
426 MCFragment *F = SD.getFragment();
431 Value += Layout.getSymbolOffset(&SD);
470 MCSymbolData &SD = Asm.getSymbolData(*S);
471 return SD.getIndex();
597 MCSymbolData &SD = Asm.getSymbolData(RefSymbol);
599 MCELF::SetBinding(SD, ELF::STB_GLOBAL);
679 const MCSectionData &SD = *it;
680 if (Relocations[&SD].empty())
685 static_cast<const MCSectionELF&>(SD.getSection());
711 const MCSectionData &SD = *it;
713 static_cast<const MCSectionELF&>(SD.getSection());
746 const MCSectionData *SD) {
747 std::vector<ELFRelocationEntry> &Relocs = Relocations[SD];
1023 bool ELFObjectWriter::IsELFMetaDataSection(const MCSectionData &SD) {
1024 return SD.getOrdinal() == ~UINT32_C(0) &&
1025 !SD.getSection().isVirtualSection();
1028 uint64_t ELFObjectWriter::DataSectionSize(const MCSectionData &SD) {
1030 for (MCSectionData::const_iterator i = SD.begin(), e = SD.end(); i != e;
1040 const MCSectionData &SD) {
1041 if (IsELFMetaDataSection(SD))
1042 return DataSectionSize(SD);
1043 return Layout.getSectionFileSize(&SD);
1047 const MCSectionData &SD) {
1048 if (IsELFMetaDataSection(SD))
1049 return DataSectionSize(SD);
1050 return Layout.getSectionAddressSize(&SD);
1057 const MCSectionData &SD = Asm.getOrCreateSectionData(Section);
1059 uint64_t Padding = OffsetToAlignment(FileOff, SD.getAlignment());
1063 FileOff += GetSectionFileSize(Layout, SD);
1065 if (IsELFMetaDataSection(SD)) {
1066 for (MCSectionData::const_iterator i = SD.begin(), e = SD.end(); i != e;
1073 Asm.WriteSectionData(&SD, Layout);
1102 const MCSectionData &SD = Asm.getOrCreateSectionData(Section);
1110 uint64_t Size = GetSectionAddressSize(Layout, SD);
1114 SD.getAlignment(), Section);
1189 const MCSectionData &SD = Asm.getOrCreateSectionData(Section);
1191 FileOff = RoundUpToAlignment(FileOff, SD.getAlignment());
1197 FileOff += GetSectionFileSize(Layout, SD);
1210 const MCSectionData &SD = Asm.getOrCreateSectionData(Section);
1212 FileOff = RoundUpToAlignment(FileOff, SD.getAlignment());
1218 FileOff += GetSectionFileSize(Layout, SD);