mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-23 17:29:19 +00:00
EmitDebugLabel should by default be the same as EmitLabel everywhere.
It must be explicity set in MCPureStreamer because otherwise it will inherit incorrectly from the parent. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@170383 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
14b8f79c26
commit
082b7e6d36
@ -37,6 +37,7 @@ public:
|
|||||||
|
|
||||||
virtual void InitSections();
|
virtual void InitSections();
|
||||||
virtual void EmitLabel(MCSymbol *Symbol);
|
virtual void EmitLabel(MCSymbol *Symbol);
|
||||||
|
virtual void EmitDebugLabel(MCSymbol *Symbol);
|
||||||
virtual void EmitZerofill(const MCSection *Section, MCSymbol *Symbol = 0,
|
virtual void EmitZerofill(const MCSection *Section, MCSymbol *Symbol = 0,
|
||||||
uint64_t Size = 0, unsigned ByteAlignment = 0);
|
uint64_t Size = 0, unsigned ByteAlignment = 0);
|
||||||
virtual void EmitBytes(StringRef Data, unsigned AddrSpace);
|
virtual void EmitBytes(StringRef Data, unsigned AddrSpace);
|
||||||
@ -135,6 +136,10 @@ void MCPureStreamer::EmitLabel(MCSymbol *Symbol) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
void MCPureStreamer::EmitDebugLabel(MCSymbol *Symbol) {
|
||||||
|
EmitLabel(Symbol);
|
||||||
|
}
|
||||||
|
|
||||||
void MCPureStreamer::EmitZerofill(const MCSection *Section, MCSymbol *Symbol,
|
void MCPureStreamer::EmitZerofill(const MCSection *Section, MCSymbol *Symbol,
|
||||||
uint64_t Size, unsigned ByteAlignment) {
|
uint64_t Size, unsigned ByteAlignment) {
|
||||||
report_fatal_error("not yet implemented in pure streamer");
|
report_fatal_error("not yet implemented in pure streamer");
|
||||||
|
Loading…
Reference in New Issue
Block a user