summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKevin Enderby <enderby@apple.com>2009-07-14 18:17:10 +0000
committerKevin Enderby <enderby@apple.com>2009-07-14 18:17:10 +0000
commit95cf30c444707634bbd950f13405b6c8bcfe496b (patch)
treef8b86c6506b9c2e4d8a70f01241070a5048560b0 /include
parent533c67ba9802123f08946ac8002d1223067318ca (diff)
downloadllvm-95cf30c444707634bbd950f13405b6c8bcfe496b.tar.gz
llvm-95cf30c444707634bbd950f13405b6c8bcfe496b.tar.bz2
llvm-95cf30c444707634bbd950f13405b6c8bcfe496b.tar.xz
Added llvm-mc support for parsing the .desc directive.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75645 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/MC/MCStreamer.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/llvm/MC/MCStreamer.h b/include/llvm/MC/MCStreamer.h
index 8ceb7723f9..a418a0f0b0 100644
--- a/include/llvm/MC/MCStreamer.h
+++ b/include/llvm/MC/MCStreamer.h
@@ -120,6 +120,12 @@ namespace llvm {
virtual void EmitSymbolAttribute(MCSymbol *Symbol,
SymbolAttr Attribute) = 0;
+ /// EmitSymbolDesc - Set the @param DescValue for the @param Symbol.
+ ///
+ /// @param Symbol - The symbol to have its n_desc field set.
+ /// @param DescValue - The value to set into the n_desc field.
+ virtual void EmitSymbolDesc(MCSymbol *Symbol, unsigned DescValue) = 0;
+
/// EmitCommonSymbol - Emit a common or local common symbol of @param Size
/// with the @param Pow2Alignment if non-zero.
///