summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKevin Enderby <enderby@apple.com>2009-07-13 23:15:14 +0000
committerKevin Enderby <enderby@apple.com>2009-07-13 23:15:14 +0000
commit5f1f0b8f7e7087d456ddc3efdb4bed21a4ae359c (patch)
treedc9d7b87dc1fcbc62ab9711514782ee4ff11be0f /include
parent45f91b70c4caedc05427d48963f2664aacf45d9e (diff)
downloadllvm-5f1f0b8f7e7087d456ddc3efdb4bed21a4ae359c.tar.gz
llvm-5f1f0b8f7e7087d456ddc3efdb4bed21a4ae359c.tar.bz2
llvm-5f1f0b8f7e7087d456ddc3efdb4bed21a4ae359c.tar.xz
Added llvm-mc support for parsing the .abort directive.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75545 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/MC/MCStreamer.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/llvm/MC/MCStreamer.h b/include/llvm/MC/MCStreamer.h
index dc185aecfd..8ceb7723f9 100644
--- a/include/llvm/MC/MCStreamer.h
+++ b/include/llvm/MC/MCStreamer.h
@@ -141,6 +141,13 @@ namespace llvm {
virtual void EmitZerofill(MCSection *Section, MCSymbol *Symbol = 0,
unsigned Size = 0,unsigned Pow2Alignment = 0) = 0;
+ /// AbortAssembly - Stop and don't produce output, printing @param
+ /// AbortReason if non-NULL to indicate the reason the assembly is
+ /// terminated.
+ ///
+ /// @param AbortReason - The reason assembly is terminated, if non-NULL.
+ virtual void AbortAssembly(const char *AbortReason) = 0;
+
/// @}
/// @name Generating Data
/// @{