diff options
author | Chris Lattner <sabre@nondot.org> | 2010-01-25 18:58:59 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-01-25 18:58:59 +0000 |
commit | 601ef33c77349054b35434d9f53893068707c8f0 (patch) | |
tree | 3fbbd6ce80d5621f57bea050a28579e580c5f28b /llvm/lib/MC/MCNullStreamer.cpp | |
parent | bc696445e17308d64e579589642cac29dcbac87f (diff) | |
download | bcm5719-llvm-601ef33c77349054b35434d9f53893068707c8f0.tar.gz bcm5719-llvm-601ef33c77349054b35434d9f53893068707c8f0.zip |
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.
llvm-svn: 94437
Diffstat (limited to 'llvm/lib/MC/MCNullStreamer.cpp')
-rw-r--r-- | llvm/lib/MC/MCNullStreamer.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/MC/MCNullStreamer.cpp b/llvm/lib/MC/MCNullStreamer.cpp index 1d2b778ffcb..151cf283226 100644 --- a/llvm/lib/MC/MCNullStreamer.cpp +++ b/llvm/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() {} |