return 0;
}
-void DwarfPrinter::PrintRelDirective(bool Force32Bit) const {
- if (Force32Bit || TD->getPointerSize() == sizeof(int32_t))
- O << MAI->getData32bitsDirective();
- else
- O << MAI->getData64bitsDirective();
-}
-
void DwarfPrinter::PrintRelDirective(unsigned Encoding) const {
unsigned Size = SizeOfEncodedValue(Encoding);
assert((Size == 4 || Size == 8) && "Do not support other types or rels!");
}
// FIXME: Need an MCExpr for ".".
- PrintRelDirective(Force32Bit);
+ if (Force32Bit || TD->getPointerSize() == sizeof(int32_t))
+ O << MAI->getData32bitsDirective();
+ else
+ O << MAI->getData64bitsDirective();
O << *Sym;
if (IsPCRelative) O << "-" << MAI->getPCSymbol();
}
unsigned SizeOfEncodedValue(unsigned Encoding) const;
void PrintRelDirective(unsigned Encoding) const;
- void PrintRelDirective(bool Force32Bit = false) const;
/// EmitEncodingByte - Emit a .byte 42 directive that corresponds to an
/// encoding. If verbose assembly output is enabled, we output comments