diff options
author | Chris Lattner <sabre@nondot.org> | 2010-03-09 00:39:24 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-03-09 00:39:24 +0000 |
commit | 6cde3e6e993126df756e3be5b9ef43540b904644 (patch) | |
tree | 78aa69d89fac8afe59d7b625569a8bbc4a757f15 /include/llvm/MC/MCStreamer.h | |
parent | 6ed0f90dacc7c42b48019ad035fc2767adeaf04a (diff) | |
download | external_llvm-6cde3e6e993126df756e3be5b9ef43540b904644.zip external_llvm-6cde3e6e993126df756e3be5b9ef43540b904644.tar.gz external_llvm-6cde3e6e993126df756e3be5b9ef43540b904644.tar.bz2 |
add a EmitSymbolValue convenience method to MCStreamer.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98017 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/MC/MCStreamer.h')
-rw-r--r-- | include/llvm/MC/MCStreamer.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/llvm/MC/MCStreamer.h b/include/llvm/MC/MCStreamer.h index 696d024..6359cce 100644 --- a/include/llvm/MC/MCStreamer.h +++ b/include/llvm/MC/MCStreamer.h @@ -191,6 +191,11 @@ namespace llvm { /// EmitIntValue - Special case of EmitValue that avoids the client having /// to pass in a MCExpr for constant integers. virtual void EmitIntValue(uint64_t Value, unsigned Size,unsigned AddrSpace); + + /// EmitSymbolValue - Special case of EmitValue that avoids the client + /// having to pass in a MCExpr for MCSymbols. + virtual void EmitSymbolValue(const MCSymbol *Sym, unsigned Size, + unsigned AddrSpace); /// EmitGPRel32Value - Emit the expression @p Value into the output as a /// gprel32 (32-bit GP relative) value. |