diff options
author | Kevin Enderby <enderby@apple.com> | 2009-07-13 21:03:15 +0000 |
---|---|---|
committer | Kevin Enderby <enderby@apple.com> | 2009-07-13 21:03:15 +0000 |
commit | a5c783280f83df5c60a8ed9e32c61b05a11048e3 (patch) | |
tree | 4bde7c9a4caa986196c8130d8dbfe422e605adc9 /lib/MC | |
parent | eb7f7a86651140fe8c2e00765bcb1cebe675eb33 (diff) | |
download | external_llvm-a5c783280f83df5c60a8ed9e32c61b05a11048e3.zip external_llvm-a5c783280f83df5c60a8ed9e32c61b05a11048e3.tar.gz external_llvm-a5c783280f83df5c60a8ed9e32c61b05a11048e3.tar.bz2 |
add llvm-mc support for parsing the .subsections_via_symbols directive.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75500 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/MC')
-rw-r--r-- | lib/MC/MCAsmStreamer.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/MC/MCAsmStreamer.cpp b/lib/MC/MCAsmStreamer.cpp index 172ae9e..c0a334a 100644 --- a/lib/MC/MCAsmStreamer.cpp +++ b/lib/MC/MCAsmStreamer.cpp @@ -38,6 +38,8 @@ namespace { virtual void EmitLabel(MCSymbol *Symbol); + virtual void SubsectionsViaSymbols(void); + virtual void EmitAssignment(MCSymbol *Symbol, const MCValue &Value, bool MakeAbsolute = false); @@ -117,6 +119,10 @@ void MCAsmStreamer::EmitLabel(MCSymbol *Symbol) { Symbol->setExternal(false); } +void MCAsmStreamer::SubsectionsViaSymbols(void) { + OS << ".subsections_via_symbols\n"; +} + void MCAsmStreamer::EmitAssignment(MCSymbol *Symbol, const MCValue &Value, bool MakeAbsolute) { assert(!Symbol->getSection() && "Cannot assign to a label!"); |