diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/MC/MCStreamer.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/llvm/MC/MCStreamer.h b/include/llvm/MC/MCStreamer.h index dc185ae..8ceb772 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 /// @{ |