summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2014-01-14 04:25:13 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2014-01-14 04:25:13 +0000
commit3c733ea0649665b81947de596d410a5c4f42f5f4 (patch)
tree5ca3a0eb19cf878d00fbd4cb086834685b00a4be /include
parentdfa550a1761a85417d0e42c8cd17cd08e753388b (diff)
downloadllvm-3c733ea0649665b81947de596d410a5c4f42f5f4.tar.gz
llvm-3c733ea0649665b81947de596d410a5c4f42f5f4.tar.bz2
llvm-3c733ea0649665b81947de596d410a5c4f42f5f4.tar.xz
Replace .mips_hack_stocg with ".set micromips" and ".set nomicromips".
This matches what gnu as does and implementing this is easier than arguing about it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@199181 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/MC/MCStreamer.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/llvm/MC/MCStreamer.h b/include/llvm/MC/MCStreamer.h
index ad6a4086e1..fb94f9d5ff 100644
--- a/include/llvm/MC/MCStreamer.h
+++ b/include/llvm/MC/MCStreamer.h
@@ -71,6 +71,9 @@ protected:
public:
virtual ~MCTargetStreamer();
void setStreamer(MCStreamer *S) { Streamer = S; }
+
+ // Allow a target to add behavior to the EmitLabel of MCStreamer.
+ virtual void emitLabel(MCSymbol *Symbol);
};
// FIXME: declared here because it is used from