OSDN Git Service

Add a FIXME for making the symbol emission functions const.
authorEric Christopher <echristo@gmail.com>
Wed, 4 Dec 2013 22:04:46 +0000 (22:04 +0000)
committerEric Christopher <echristo@gmail.com>
Wed, 4 Dec 2013 22:04:46 +0000 (22:04 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@196418 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/MC/MCStreamer.h

index 0b1fe6e..5bf4fb1 100644 (file)
@@ -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);