[llvm] r196418 - Add a FIXME for making the symbol emission functions const.
Eric Christopher
echristo at gmail.com
Wed Dec 4 14:04:46 PST 2013
Author: echristo
Date: Wed Dec 4 16:04:46 2013
New Revision: 196418
URL: http://llvm.org/viewvc/llvm-project?rev=196418&view=rev
Log:
Add a FIXME for making the symbol emission functions const.
Modified:
llvm/trunk/include/llvm/MC/MCStreamer.h
Modified: llvm/trunk/include/llvm/MC/MCStreamer.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/MC/MCStreamer.h?rev=196418&r1=196417&r2=196418&view=diff
==============================================================================
--- llvm/trunk/include/llvm/MC/MCStreamer.h (original)
+++ llvm/trunk/include/llvm/MC/MCStreamer.h Wed Dec 4 16:04:46 2013
@@ -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);
More information about the llvm-commits
mailing list