diff options
author | Daniel Dunbar <daniel@zuster.org> | 2010-05-18 17:28:17 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2010-05-18 17:28:17 +0000 |
commit | 39617bb08a0c24c3d5aa685738585ba5430ff5b1 (patch) | |
tree | 16a9c389f394a569e60ebadc9e38581a204139d5 | |
parent | a4820fcc785e718ad1e2d8a503cb415c0055937f (diff) | |
download | bcm5719-llvm-39617bb08a0c24c3d5aa685738585ba5430ff5b1.tar.gz bcm5719-llvm-39617bb08a0c24c3d5aa685738585ba5430ff5b1.zip |
MC/Mach-O: Fail faster/harder when we see .file, which isn't yet supported.
llvm-svn: 104031
-rw-r--r-- | llvm/lib/MC/MCMachOStreamer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/MC/MCMachOStreamer.cpp b/llvm/lib/MC/MCMachOStreamer.cpp index 629a6ba6dc3..f1dc34944dd 100644 --- a/llvm/lib/MC/MCMachOStreamer.cpp +++ b/llvm/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); |