Lines Matching refs:SD
64 const MCSectionData &SD = *F->getParent();
65 const MCFragment *LastValid = LastValidFragment.lookup(&SD);
78 const MCSectionData &SD = *F->getParent();
79 LastValidFragment[&SD] = F;
83 MCSectionData &SD = *F->getParent();
85 MCFragment *Cur = LastValidFragment[&SD];
87 Cur = &*SD.begin();
104 uint64_t MCAsmLayout::getSymbolOffset(const MCSymbolData *SD) const {
105 const MCSymbol &S = SD->getSymbol();
132 assert(SD->getFragment() && "Invalid getOffset() on undefined symbol!");
133 return getFragmentOffset(SD->getFragment()) + SD->getOffset();
136 uint64_t MCAsmLayout::getSectionAddressSize(const MCSectionData *SD) const {
138 const MCFragment &F = SD->getFragmentList().back();
142 uint64_t MCAsmLayout::getSectionFileSize(const MCSectionData *SD) const {
144 if (SD->getSection().isVirtualSection())
148 return getSectionAddressSize(SD);
221 const MCSymbolData *MCAssembler::getAtom(const MCSymbolData *SD) const {
223 if (isSymbolLinkerVisible(SD->getSymbol()))
224 return SD;
227 if (!SD->getFragment())
233 SD->getFragment()->getParent()->getSection()))
237 return SD->getFragment()->getAtom();
496 void MCAssembler::WriteSectionData(const MCSectionData *SD,
499 if (SD->getSection().isVirtualSection()) {
500 assert(Layout.getSectionFileSize(SD) == 0 && "Invalid size for section!");
503 for (MCSectionData::const_iterator it = SD->begin(),
504 ie = SD->end(); it != ie; ++it) {
540 for (MCSectionData::const_iterator it = SD->begin(),
541 ie = SD->end(); it != ie; ++it)
545 Layout.getSectionAddressSize(SD));
585 MCSectionData *SD = Layout.getSectionOrder()[i];
586 SD->setLayoutOrder(i);
589 for (MCSectionData::iterator it2 = SD->begin(),
590 ie2 = SD->end(); it2 != ie2; ++it2)
768 MCSectionData &SD) {
771 for (MCSectionData::iterator it2 = SD.begin(),
772 ie2 = SD.end(); it2 != ie2; ++it2) {
810 MCSectionData &SD = *it;
811 while(LayoutSectionOnce(Layout, SD))