From: Daniel Dunbar Date: Tue, 18 May 2010 17:28:17 +0000 (+0000) Subject: MC/Mach-O: Fail faster/harder when we see .file, which isn't yet supported. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=ca1212de598f1c6fbc169c0ae1dfc829db10f4c0;p=oota-llvm.git 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 --- diff --git a/lib/MC/MCMachOStreamer.cpp b/lib/MC/MCMachOStreamer.cpp index 629a6ba6dc3..f1dc34944dd 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);