mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
llvm-mc: Add const to EmitZeroFill section argument.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80341 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
6c31b0575c
commit
8751b94ffb
@ -164,7 +164,7 @@ namespace llvm {
|
||||
/// @param Symbol - The zerofill symbol to emit, if non-NULL.
|
||||
/// @param Size - The size of the zerofill symbol.
|
||||
/// @param Pow2Alignment - The alignment of the zerofill symbol if non-zero.
|
||||
virtual void EmitZerofill(MCSection *Section, MCSymbol *Symbol = 0,
|
||||
virtual void EmitZerofill(const MCSection *Section, MCSymbol *Symbol = 0,
|
||||
unsigned Size = 0,unsigned Pow2Alignment = 0) = 0;
|
||||
|
||||
/// @}
|
||||
|
@ -58,7 +58,7 @@ public:
|
||||
virtual void EmitCommonSymbol(MCSymbol *Symbol, unsigned Size,
|
||||
unsigned Pow2Alignment, bool IsLocal);
|
||||
|
||||
virtual void EmitZerofill(MCSection *Section, MCSymbol *Symbol = NULL,
|
||||
virtual void EmitZerofill(const MCSection *Section, MCSymbol *Symbol = 0,
|
||||
unsigned Size = 0, unsigned Pow2Alignment = 0);
|
||||
|
||||
virtual void EmitBytes(const StringRef &Data);
|
||||
@ -189,7 +189,7 @@ void MCAsmStreamer::EmitCommonSymbol(MCSymbol *Symbol, unsigned Size,
|
||||
OS << '\n';
|
||||
}
|
||||
|
||||
void MCAsmStreamer::EmitZerofill(MCSection *Section, MCSymbol *Symbol,
|
||||
void MCAsmStreamer::EmitZerofill(const MCSection *Section, MCSymbol *Symbol,
|
||||
unsigned Size, unsigned Pow2Alignment) {
|
||||
// Note: a .zerofill directive does not switch sections.
|
||||
OS << ".zerofill ";
|
||||
|
@ -107,7 +107,7 @@ public:
|
||||
virtual void EmitCommonSymbol(MCSymbol *Symbol, unsigned Size,
|
||||
unsigned Pow2Alignment, bool IsLocal);
|
||||
|
||||
virtual void EmitZerofill(MCSection *Section, MCSymbol *Symbol = NULL,
|
||||
virtual void EmitZerofill(const MCSection *Section, MCSymbol *Symbol = 0,
|
||||
unsigned Size = 0, unsigned Pow2Alignment = 0);
|
||||
|
||||
virtual void EmitBytes(const StringRef &Data);
|
||||
@ -273,7 +273,7 @@ void MCMachOStreamer::EmitCommonSymbol(MCSymbol *Symbol, unsigned Size,
|
||||
llvm_unreachable("FIXME: Not yet implemented!");
|
||||
}
|
||||
|
||||
void MCMachOStreamer::EmitZerofill(MCSection *Section, MCSymbol *Symbol,
|
||||
void MCMachOStreamer::EmitZerofill(const MCSection *Section, MCSymbol *Symbol,
|
||||
unsigned Size, unsigned Pow2Alignment) {
|
||||
llvm_unreachable("FIXME: Not yet implemented!");
|
||||
}
|
||||
|
@ -46,7 +46,7 @@ namespace {
|
||||
virtual void EmitCommonSymbol(MCSymbol *Symbol, unsigned Size,
|
||||
unsigned Pow2Alignment, bool IsLocal) {}
|
||||
|
||||
virtual void EmitZerofill(MCSection *Section, MCSymbol *Symbol = NULL,
|
||||
virtual void EmitZerofill(const MCSection *Section, MCSymbol *Symbol = 0,
|
||||
unsigned Size = 0, unsigned Pow2Alignment = 0) {}
|
||||
|
||||
virtual void EmitBytes(const StringRef &Data) {}
|
||||
|
Loading…
Reference in New Issue
Block a user