COFF: Remove ExportSection, which has been dead since r114823
authorReid Kleckner <reid@kleckner.net>
Tue, 17 Sep 2013 21:24:02 +0000 (21:24 +0000)
committerReid Kleckner <reid@kleckner.net>
Tue, 17 Sep 2013 21:24:02 +0000 (21:24 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190887 91177308-0d34-0410-b5e6-96231b3b80d8

lib/MC/WinCOFFObjectWriter.cpp

index 7e9ac87fcecfae6f32cf51b2370dc742685a2fb5..e85c33dc9c7c0049ef12093c6c84806cb5ff7052 100644 (file)
@@ -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(COFFSymbol &S, size_t Index) {
   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