diff options
author | Peter Collingbourne <peter@pcc.me.uk> | 2017-03-03 21:22:06 +0000 |
---|---|---|
committer | Peter Collingbourne <peter@pcc.me.uk> | 2017-03-03 21:22:06 +0000 |
commit | 5b75fd9e56def2c63c1e3150e48e28a15c2af8f7 (patch) | |
tree | 11fea6d20441547b2b5c5546ca2afc44af516f81 /llvm/lib/MC/MCELFStreamer.cpp | |
parent | faf1feb57dfad798b29241a8f0714014beed733a (diff) | |
download | bcm5719-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/MCELFStreamer.cpp')
-rw-r--r-- | llvm/lib/MC/MCELFStreamer.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/llvm/lib/MC/MCELFStreamer.cpp b/llvm/lib/MC/MCELFStreamer.cpp index 172440080ea..0c786b2d0e9 100644 --- a/llvm/lib/MC/MCELFStreamer.cpp +++ b/llvm/lib/MC/MCELFStreamer.cpp @@ -348,13 +348,6 @@ void MCELFStreamer::EmitValueToAlignment(unsigned ByteAlignment, ValueSize, MaxBytesToEmit); } -// Add a symbol for the file name of this module. They start after the -// null symbol and don't count as normal symbol, i.e. a non-STT_FILE symbol -// with the same name may appear. -void MCELFStreamer::EmitFileDirective(StringRef Filename) { - getAssembler().addFileName(Filename); -} - void MCELFStreamer::EmitIdent(StringRef IdentString) { MCSection *Comment = getAssembler().getContext().getELFSection( ".comment", ELF::SHT_PROGBITS, ELF::SHF_MERGE | ELF::SHF_STRINGS, 1, ""); |