aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/MC/MCStreamer.h
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2011-12-17 01:14:52 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2011-12-17 01:14:52 +0000
commit8f7d12ccfd8feb258bdf4e582592bc00beacc7c6 (patch)
tree9cfa7fc437c2594e922ef79b6f711f2b0a24292f /include/llvm/MC/MCStreamer.h
parent8b99c1e42cff9a55996907901a5ad81a97f24912 (diff)
downloadexternal_llvm-8f7d12ccfd8feb258bdf4e582592bc00beacc7c6.zip
external_llvm-8f7d12ccfd8feb258bdf4e582592bc00beacc7c6.tar.gz
external_llvm-8f7d12ccfd8feb258bdf4e582592bc00beacc7c6.tar.bz2
Add back the MC bits of 126425. Original patch by Nathan Jeffords. I added the
asm parsing and testcase. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146801 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/MC/MCStreamer.h')
-rw-r--r--include/llvm/MC/MCStreamer.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/llvm/MC/MCStreamer.h b/include/llvm/MC/MCStreamer.h
index 1c1fe02..9ba50b1 100644
--- a/include/llvm/MC/MCStreamer.h
+++ b/include/llvm/MC/MCStreamer.h
@@ -334,6 +334,11 @@ namespace llvm {
/// EndCOFFSymbolDef - Marks the end of the symbol definition.
virtual void EndCOFFSymbolDef() = 0;
+ /// EmitCOFFSecRel32 - Emits a COFF section relative relocation.
+ ///
+ /// @param Symbol - Symbol the section relative realocation should point to.
+ virtual void EmitCOFFSecRel32(MCSymbol const *Symbol);
+
/// EmitELFSize - Emit an ELF .size directive.
///
/// This corresponds to an assembler statement such as: