summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKevin Enderby <enderby@apple.com>2009-07-14 21:35:03 +0000
committerKevin Enderby <enderby@apple.com>2009-07-14 21:35:03 +0000
commit711482476c55f99c34c516f9e035b7c59b00ef42 (patch)
treedde0a4d27bc9fbd9f5c3b641b02e1939de61d024 /include
parent4cb73525a943d69da0f2b0c31c1a1d7f3cdd879d (diff)
downloadllvm-711482476c55f99c34c516f9e035b7c59b00ef42.tar.gz
llvm-711482476c55f99c34c516f9e035b7c59b00ef42.tar.bz2
llvm-711482476c55f99c34c516f9e035b7c59b00ef42.tar.xz
Added llvm-mc support for parsing the .lsym directive.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75685 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 a418a0f0b0..d58c8ba87d 100644
--- a/include/llvm/MC/MCStreamer.h
+++ b/include/llvm/MC/MCStreamer.h
@@ -126,6 +126,12 @@ namespace llvm {
/// @param DescValue - The value to set into the n_desc field.
virtual void EmitSymbolDesc(MCSymbol *Symbol, unsigned DescValue) = 0;
+ /// EmitLocalSymbol - Emit a local symbol of @param Value to @param Symbol.
+ ///
+ /// @param Symbol - The local symbol being created.
+ /// @param Value - The value for the symbol.
+ virtual void EmitLocalSymbol(MCSymbol *Symbol, const MCValue &Value) = 0;
+
/// EmitCommonSymbol - Emit a common or local common symbol of @param Size
/// with the @param Pow2Alignment if non-zero.
///