[llvm-commits] [llvm] r170383 - /llvm/trunk/lib/MC/MCPureStreamer.cpp
Rafael EspĂndola
rafael.espindola at gmail.com
Sat Mar 23 03:51:24 PDT 2013
test?
On 17 December 2012 18:41, Reed Kotler <rkotler at mips.com> wrote:
> Author: rkotler
> Date: Mon Dec 17 17:41:45 2012
> New Revision: 170383
>
> URL: http://llvm.org/viewvc/llvm-project?rev=170383&view=rev
> Log:
> 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.
>
>
> Modified:
> llvm/trunk/lib/MC/MCPureStreamer.cpp
>
> Modified: llvm/trunk/lib/MC/MCPureStreamer.cpp
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/MC/MCPureStreamer.cpp?rev=170383&r1=170382&r2=170383&view=diff
> ==============================================================================
> --- llvm/trunk/lib/MC/MCPureStreamer.cpp (original)
> +++ llvm/trunk/lib/MC/MCPureStreamer.cpp Mon Dec 17 17:41:45 2012
> @@ -37,6 +37,7 @@
>
> virtual void InitSections();
> virtual void EmitLabel(MCSymbol *Symbol);
> + virtual void EmitDebugLabel(MCSymbol *Symbol);
> virtual void EmitZerofill(const MCSection *Section, MCSymbol *Symbol = 0,
> uint64_t Size = 0, unsigned ByteAlignment = 0);
> virtual void EmitBytes(StringRef Data, unsigned AddrSpace);
> @@ -135,6 +136,10 @@
> }
>
>
> +void MCPureStreamer::EmitDebugLabel(MCSymbol *Symbol) {
> + EmitLabel(Symbol);
> +}
> +
> void MCPureStreamer::EmitZerofill(const MCSection *Section, MCSymbol *Symbol,
> uint64_t Size, unsigned ByteAlignment) {
> report_fatal_error("not yet implemented in pure streamer");
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
More information about the llvm-commits
mailing list