[llvm] r190887 - COFF: Remove ExportSection, which has been dead since r114823

Reid Kleckner reid at kleckner.net
Tue Sep 17 14:24:02 PDT 2013


Author: rnk
Date: Tue Sep 17 16:24:02 2013
New Revision: 190887

URL: http://llvm.org/viewvc/llvm-project?rev=190887&view=rev
Log:
COFF: Remove ExportSection, which has been dead since r114823

Modified:
    llvm/trunk/lib/MC/WinCOFFObjectWriter.cpp

Modified: llvm/trunk/lib/MC/WinCOFFObjectWriter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/MC/WinCOFFObjectWriter.cpp?rev=190887&r1=190886&r2=190887&view=diff
==============================================================================
--- llvm/trunk/lib/MC/WinCOFFObjectWriter.cpp (original)
+++ llvm/trunk/lib/MC/WinCOFFObjectWriter.cpp Tue Sep 17 16:24:02 2013
@@ -154,7 +154,6 @@ public:
   void MakeSymbolReal(COFFSymbol &S, size_t Index);
   void MakeSectionReal(COFFSection &S, size_t Number);
 
-  bool ExportSection(COFFSection const *S);
   bool ExportSymbol(MCSymbolData const &SymbolData, MCAssembler &Asm);
 
   bool IsPhysicalSection(COFFSection *S);
@@ -497,10 +496,6 @@ void WinCOFFObjectWriter::MakeSymbolReal
   S.Index = Index;
 }
 
-bool WinCOFFObjectWriter::ExportSection(COFFSection const *S) {
-  return !S->MCData->getFragmentList().empty();
-}
-
 bool WinCOFFObjectWriter::ExportSymbol(MCSymbolData const &SymbolData,
                                        MCAssembler &Asm) {
   // This doesn't seem to be right. Strings referred to from the .data section





More information about the llvm-commits mailing list