@@ -129,7 +129,7 @@ class MCMachOStreamer : public MCObjectStreamer {
129
129
void emitCGProfileEntry (const MCSymbolRefExpr *From,
130
130
const MCSymbolRefExpr *To, uint64_t Count) override {
131
131
if (!From->getSymbol ().isTemporary () && !To->getSymbol ().isTemporary ())
132
- getWriter ().getCGProfile ().push_back ({From, To, Count});
132
+ getMCObjectWriter ().getCGProfile ().push_back ({From, To, Count});
133
133
}
134
134
135
135
void finishImpl () override ;
@@ -277,8 +277,8 @@ void MCMachOStreamer::emitDarwinTargetVariantBuildVersion(
277
277
278
278
void MCMachOStreamer::EmitPtrAuthABIVersion (unsigned PtrAuthABIVersion,
279
279
bool PtrAuthKernelABIVersion) {
280
- getWriter ().setPtrAuthABIVersion (PtrAuthABIVersion);
281
- getWriter ().setPtrAuthKernelABIVersion (PtrAuthKernelABIVersion);
280
+ getMCObjectWriter ().setPtrAuthABIVersion (PtrAuthABIVersion);
281
+ getMCObjectWriter ().setPtrAuthKernelABIVersion (PtrAuthKernelABIVersion);
282
282
}
283
283
284
284
void MCMachOStreamer::emitThumbFunc (MCSymbol *Symbol) {
@@ -518,7 +518,7 @@ void MCMachOStreamer::finalizeCGProfileEntry(const MCSymbolRefExpr *&SRE) {
518
518
519
519
void MCMachOStreamer::finalizeCGProfile () {
520
520
MCAssembler &Asm = getAssembler ();
521
- MCObjectWriter &W = getWriter ();
521
+ MCObjectWriter &W = getMCObjectWriter ();
522
522
if (W.getCGProfile ().empty ())
523
523
return ;
524
524
for (auto &E : W.getCGProfile ()) {
0 commit comments