[llvm-commits] [llvm] r104031 - /llvm/trunk/lib/MC/MCMachOStreamer.cpp

Daniel Dunbar daniel at zuster.org
Tue May 18 10:28:18 PDT 2010


Author: ddunbar
Date: Tue May 18 12:28:17 2010
New Revision: 104031

URL: http://llvm.org/viewvc/llvm-project?rev=104031&view=rev
Log:
MC/Mach-O: Fail faster/harder when we see .file, which isn't yet supported.

Modified:
    llvm/trunk/lib/MC/MCMachOStreamer.cpp

Modified: llvm/trunk/lib/MC/MCMachOStreamer.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/MC/MCMachOStreamer.cpp?rev=104031&r1=104030&r2=104031&view=diff
==============================================================================
--- llvm/trunk/lib/MC/MCMachOStreamer.cpp (original)
+++ llvm/trunk/lib/MC/MCMachOStreamer.cpp Tue May 18 12:28:17 2010
@@ -142,10 +142,10 @@
                                  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);





More information about the llvm-commits mailing list