aboutsummaryrefslogtreecommitdiffstats
path: root/lib/MC
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2010-05-18 17:28:17 +0000
committerDaniel Dunbar <daniel@zuster.org>2010-05-18 17:28:17 +0000
commitca1212de598f1c6fbc169c0ae1dfc829db10f4c0 (patch)
tree10776a18d985dee5f3f434e3c26326f5135caa1c /lib/MC
parent3f40b31256b995e05edad1846e8d6c758df09ed8 (diff)
downloadexternal_llvm-ca1212de598f1c6fbc169c0ae1dfc829db10f4c0.zip
external_llvm-ca1212de598f1c6fbc169c0ae1dfc829db10f4c0.tar.gz
external_llvm-ca1212de598f1c6fbc169c0ae1dfc829db10f4c0.tar.bz2
MC/Mach-O: Fail faster/harder when we see .file, which isn't yet supported.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@104031 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/MC')
-rw-r--r--lib/MC/MCMachOStreamer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/MC/MCMachOStreamer.cpp b/lib/MC/MCMachOStreamer.cpp
index 629a6ba..f1dc349 100644
--- a/lib/MC/MCMachOStreamer.cpp
+++ b/lib/MC/MCMachOStreamer.cpp
@@ -142,10 +142,10 @@ public:
unsigned char Value = 0);
virtual void EmitFileDirective(StringRef Filename) {
- errs() << "FIXME: MCMachoStreamer:EmitFileDirective not implemented\n";
+ report_fatal_error("unsupported directive: '.file'");
}
virtual void EmitDwarfFileDirective(unsigned FileNo, StringRef Filename) {
- errs() << "FIXME: MCMachoStreamer:EmitDwarfFileDirective not implemented\n";
+ report_fatal_error("unsupported directive: '.file'");
}
virtual void EmitInstruction(const MCInst &Inst);