/// Object streamers require the integrated assembler.
bool isIntegratedAssemblerRequired() const override { return true; }
- void getOrCreateSymbolData(const MCSymbol *Symbol) {
- getAssembler().registerSymbol(*Symbol);
- }
void EmitFrames(MCAsmBackend *MAB);
void EmitCFISections(bool EH, bool Debug) override;
if (!Streamer.IsThumb)
return;
- Streamer.getOrCreateSymbolData(Symbol);
+ Streamer.getAssembler().registerSymbol(*Symbol);
unsigned Type = cast<MCSymbolELF>(Symbol)->getType();
if (Type == ELF_STT_Func || Type == ELF_STT_GnuIFunc)
Streamer.EmitThumbFunc(Symbol);
if (ELFTargetStreamer->isMicroMipsEnabled()) {
for (auto *L : Labels) {
auto *Label = cast<MCSymbolELF>(L);
- getOrCreateSymbolData(Label);
+ getAssembler().registerSymbol(*Label);
// The "other" values are stored in the last 6 bits of the second byte.
// The traditional defines for STO values assume the full byte and thus
// the shift to pack it.
auto *Symbol = cast<MCSymbolELF>(S);
if (!isMicroMipsEnabled())
return;
- getStreamer().getOrCreateSymbolData(Symbol);
+ getStreamer().getAssembler().registerSymbol(*Symbol);
uint8_t Type = Symbol->getType();
if (Type != ELF::STT_FUNC)
return;