Remove arg from emitRelocDirective call

This commit is contained in:
Daniel Thornburgh 2025-07-29 14:36:29 -07:00
parent 20f2ad062c
commit a6220fef9b

View File

@ -2046,8 +2046,7 @@ void AsmPrinter::emitFunctionBody() {
const MCExpr *Dot = MCSymbolRefExpr::create(Sym, OutContext);
const MCExpr *Value = MCSymbolRefExpr::create(
getSymbol(MI.getOperand(0).getGlobal()), OutContext);
OutStreamer->emitRelocDirective(*Dot, "BFD_RELOC_NONE", Value, SMLoc(),
*STI);
OutStreamer->emitRelocDirective(*Dot, "BFD_RELOC_NONE", Value, SMLoc());
break;
}
default: