summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC/WinCOFFStreamer.cpp
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2017-03-03 21:22:06 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2017-03-03 21:22:06 +0000
commit5b75fd9e56def2c63c1e3150e48e28a15c2af8f7 (patch)
tree11fea6d20441547b2b5c5546ca2afc44af516f81 /llvm/lib/MC/WinCOFFStreamer.cpp
parentfaf1feb57dfad798b29241a8f0714014beed733a (diff)
downloadbcm5719-llvm-5b75fd9e56def2c63c1e3150e48e28a15c2af8f7.tar.gz
bcm5719-llvm-5b75fd9e56def2c63c1e3150e48e28a15c2af8f7.zip
MC: De-duplicate the object streamer implementations of EmitFileDirective into MCObjectStreamer. NFCI.
llvm-svn: 296912
Diffstat (limited to 'llvm/lib/MC/WinCOFFStreamer.cpp')
-rw-r--r--llvm/lib/MC/WinCOFFStreamer.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/llvm/lib/MC/WinCOFFStreamer.cpp b/llvm/lib/MC/WinCOFFStreamer.cpp
index 2e75b5f131d..c26d87f36f8 100644
--- a/llvm/lib/MC/WinCOFFStreamer.cpp
+++ b/llvm/lib/MC/WinCOFFStreamer.cpp
@@ -278,10 +278,6 @@ void MCWinCOFFStreamer::EmitTBSSSymbol(MCSection *Section, MCSymbol *Symbol,
llvm_unreachable("not implemented");
}
-void MCWinCOFFStreamer::EmitFileDirective(StringRef Filename) {
- getAssembler().addFileName(Filename);
-}
-
// TODO: Implement this if you want to emit .comment section in COFF obj files.
void MCWinCOFFStreamer::EmitIdent(StringRef IdentString) {
llvm_unreachable("not implemented");
OpenPOWER on IntegriCloud