From c8c1893f8bf7f793a24c00b2aff915b8b316757f Mon Sep 17 00:00:00 2001 From: Eric Christopher Date: Wed, 4 Dec 2013 22:04:46 +0000 Subject: 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 --- include/llvm/MC/MCStreamer.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/llvm') diff --git a/include/llvm/MC/MCStreamer.h b/include/llvm/MC/MCStreamer.h index 0b1fe6ec01..5bf4fb1c7e 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); -- cgit v1.2.3