diff options
author | Eric Christopher <echristo@gmail.com> | 2013-12-04 22:04:46 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2013-12-04 22:04:46 +0000 |
commit | c8c1893f8bf7f793a24c00b2aff915b8b316757f (patch) | |
tree | 92cf6f6f2ec28e9c2d094de21c63d0f6eb5b8ede /include | |
parent | ec112cfc451e6263db124dd54b6a2a8576bad18c (diff) | |
download | llvm-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.h | 2 |
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); |