Lines Matching defs:SD

52     static bool IsELFMetaDataSection(const MCSectionData &SD);
53 static uint64_t DataSectionSize(const MCSectionData &SD);
55 const MCSectionData &SD);
57 const MCSectionData &SD);
322 const MCSectionData *SD);
506 MCSymbolData &SD = Asm.getSymbolData(Symbol);
519 it->setExternal(SD.isExternal());
520 MCELF::SetBinding(*it, MCELF::GetBinding(SD));
637 const MCSymbolData &SD = Asm.getSymbolData(Symbol);
645 if (SD.isExternal()) {
721 MCSymbolData &SD = Asm.getSymbolData(ASymbol);
722 MCFragment *F = SD.getFragment();
727 Value += Layout.getSymbolOffset(&SD);
771 MCSymbolData &SD = Asm.getSymbolData(*S);
772 return SD.getIndex();
898 MCSymbolData &SD = Asm.getSymbolData(RefSymbol);
900 MCELF::SetBinding(SD, ELF::STB_GLOBAL);
980 const MCSectionData &SD = *it;
981 if (Relocations[&SD].empty())
986 static_cast<const MCSectionELF&>(SD.getSection());
1012 const MCSectionData &SD = *it;
1014 static_cast<const MCSectionELF&>(SD.getSection());
1047 const MCSectionData *SD) {
1048 std::vector<ELFRelocationEntry> &Relocs = Relocations[SD];
1334 bool ELFObjectWriter::IsELFMetaDataSection(const MCSectionData &SD) {
1335 return SD.getOrdinal() == ~UINT32_C(0) &&
1336 !SD.getSection().isVirtualSection();
1339 uint64_t ELFObjectWriter::DataSectionSize(const MCSectionData &SD) {
1341 for (MCSectionData::const_iterator i = SD.begin(), e = SD.end(); i != e;
1351 const MCSectionData &SD) {
1352 if (IsELFMetaDataSection(SD))
1353 return DataSectionSize(SD);
1354 return Layout.getSectionFileSize(&SD);
1358 const MCSectionData &SD) {
1359 if (IsELFMetaDataSection(SD))
1360 return DataSectionSize(SD);
1361 return Layout.getSectionAddressSize(&SD);
1367 const MCSectionData &SD = Asm.getOrCreateSectionData(Section);
1369 uint64_t Padding = OffsetToAlignment(OS.tell(), SD.getAlignment());
1372 if (IsELFMetaDataSection(SD)) {
1373 for (MCSectionData::const_iterator i = SD.begin(), e = SD.end(); i != e;
1380 Asm.writeSectionData(&SD, Layout);
1409 const MCSectionData &SD = Asm.getOrCreateSectionData(Section);
1417 uint64_t Size = GetSectionAddressSize(Layout, SD);
1421 SD.getAlignment(), Section);
1496 const MCSectionData &SD = Asm.getOrCreateSectionData(Section);
1498 FileOff = RoundUpToAlignment(FileOff, SD.getAlignment());
1504 FileOff += GetSectionFileSize(Layout, SD);
1517 const MCSectionData &SD = Asm.getOrCreateSectionData(Section);
1519 FileOff = RoundUpToAlignment(FileOff, SD.getAlignment());
1525 FileOff += GetSectionFileSize(Layout, SD);