aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/MC/MCObjectStreamer.h
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2012-01-27 00:37:08 +0000
committerJim Grosbach <grosbach@apple.com>2012-01-27 00:37:08 +0000
commitebd4c05c3cbd61215366d4d16f1c1a2e57e7156d (patch)
tree97d9f1a971c21688223b77711c5541748ae0c7f6 /include/llvm/MC/MCObjectStreamer.h
parent3b0714d993a37c722603f7cbfab71848a99e91cd (diff)
downloadexternal_llvm-ebd4c05c3cbd61215366d4d16f1c1a2e57e7156d.zip
external_llvm-ebd4c05c3cbd61215366d4d16f1c1a2e57e7156d.tar.gz
external_llvm-ebd4c05c3cbd61215366d4d16f1c1a2e57e7156d.tar.bz2
Better diagnostic for malformed .org assembly directive.
Provide source line number information. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149101 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/MC/MCObjectStreamer.h')
-rw-r--r--include/llvm/MC/MCObjectStreamer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/MC/MCObjectStreamer.h b/include/llvm/MC/MCObjectStreamer.h
index 7d76ab1..a69075d 100644
--- a/include/llvm/MC/MCObjectStreamer.h
+++ b/include/llvm/MC/MCObjectStreamer.h
@@ -72,7 +72,7 @@ public:
virtual void ChangeSection(const MCSection *Section);
virtual void EmitInstruction(const MCInst &Inst);
virtual void EmitInstToFragment(const MCInst &Inst);
- virtual void EmitValueToOffset(const MCExpr *Offset, unsigned char Value);
+ virtual bool EmitValueToOffset(const MCExpr *Offset, unsigned char Value);
virtual void EmitDwarfAdvanceLineAddr(int64_t LineDelta,
const MCSymbol *LastLabel,
const MCSymbol *Label,