aboutsummaryrefslogtreecommitdiff
path: root/lib/MC/MCNullStreamer.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-01-25 18:58:59 +0000
committerChris Lattner <sabre@nondot.org>2010-01-25 18:58:59 +0000
commita6594fc7156c0afbe6fd5a6aab9b099aaf950c53 (patch)
tree9fc791f856e67f36af15b2103a478ebdc379f484 /lib/MC/MCNullStreamer.cpp
parenta800f7c464ef9a376057a555129f36d1f8488c3b (diff)
mcstreamerize .file and .file. This also fixes an issue where the
normal form of .file would fail if the filename had a weird character in it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94437 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/MC/MCNullStreamer.cpp')
-rw-r--r--lib/MC/MCNullStreamer.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/MC/MCNullStreamer.cpp b/lib/MC/MCNullStreamer.cpp
index 1d2b778ffc..151cf28322 100644
--- a/lib/MC/MCNullStreamer.cpp
+++ b/lib/MC/MCNullStreamer.cpp
@@ -58,6 +58,8 @@ namespace {
virtual void EmitValueToOffset(const MCExpr *Offset,
unsigned char Value = 0) {}
+ virtual void EmitFileDirective(StringRef Filename) {}
+ virtual void EmitDwarfFileDirective(unsigned FileNo,StringRef Filename) {}
virtual void EmitInstruction(const MCInst &Inst) {}
virtual void Finish() {}