Skip to content

Commit

Permalink
DCPU: disable .file directive. Dept is tracked by #51
Browse files Browse the repository at this point in the history
  • Loading branch information
krasin committed Apr 8, 2012
1 parent f5a2eac commit 00e2061
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/MC/MCAsmStreamer.cpp
Expand Up @@ -768,7 +768,9 @@ bool MCAsmStreamer::EmitValueToOffset(const MCExpr *Offset,

void MCAsmStreamer::EmitFileDirective(StringRef Filename) {
assert(MAI.hasSingleParameterDotFile());
OS << "\t.file\t";
// TODO(krasin): enable .file directive
// https://github.com/krasin/llvm-dcpu16/issues/51
OS << "\t; .file\t";
PrintQuotedString(Filename, OS);
EmitEOL();
}
Expand Down

0 comments on commit 00e2061

Please sign in to comment.