Skip to content

Commit

Permalink
[MC] Make MCELFStreamer::finishImpl final
Browse files Browse the repository at this point in the history
This function is final after efdb91e.
Target-specific code should override MCTargetStreamer::finish instead,
e.g. AArch64TargetELFStreamer::finish
(fec1b6f).
  • Loading branch information
MaskRay committed Jun 24, 2024
1 parent efdb91e commit a9ac319
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion llvm/include/llvm/MC/MCELFStreamer.h
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,9 @@ class MCELFStreamer : public MCObjectStreamer {
void emitCGProfileEntry(const MCSymbolRefExpr *From,
const MCSymbolRefExpr *To, uint64_t Count) override;

void finishImpl() override;
// This is final. Override MCTargetStreamer::finish instead for
// target-specific code.
void finishImpl() final;

void emitBundleAlignMode(Align Alignment) override;
void emitBundleLock(bool AlignToEnd) override;
Expand Down

0 comments on commit a9ac319

Please sign in to comment.