From: Eric Christopher Date: Wed, 4 Dec 2013 22:04:46 +0000 (+0000) Subject: Add a FIXME for making the symbol emission functions const. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=c8c1893f8bf7f793a24c00b2aff915b8b316757f;p=oota-llvm.git Add a FIXME for making the symbol emission functions const. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@196418 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/MC/MCStreamer.h b/include/llvm/MC/MCStreamer.h index 0b1fe6ec012..5bf4fb1c7ea 100644 --- a/include/llvm/MC/MCStreamer.h +++ b/include/llvm/MC/MCStreamer.h @@ -334,6 +334,8 @@ public: /// @param Symbol - The symbol to emit. A given symbol should only be /// emitted as a label once, and symbols emitted as a label should never be /// used in an assignment. + // FIXME: These emission are non-const because we mutate the symbol to + // add the section we're emitting it to later. virtual void EmitLabel(MCSymbol *Symbol); virtual void EmitDebugLabel(MCSymbol *Symbol);