summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2013-12-04 22:04:46 +0000
committerEric Christopher <echristo@gmail.com>2013-12-04 22:04:46 +0000
commitc8c1893f8bf7f793a24c00b2aff915b8b316757f (patch)
tree92cf6f6f2ec28e9c2d094de21c63d0f6eb5b8ede /include
parentec112cfc451e6263db124dd54b6a2a8576bad18c (diff)
downloadllvm-c8c1893f8bf7f793a24c00b2aff915b8b316757f.tar.gz
llvm-c8c1893f8bf7f793a24c00b2aff915b8b316757f.tar.bz2
llvm-c8c1893f8bf7f793a24c00b2aff915b8b316757f.tar.xz
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
Diffstat (limited to 'include')
-rw-r--r--include/llvm/MC/MCStreamer.h2
1 files changed, 2 insertions, 0 deletions
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);