diff options
| author | Reid Kleckner <reid@kleckner.net> | 2013-09-17 21:24:02 +0000 |
|---|---|---|
| committer | Reid Kleckner <reid@kleckner.net> | 2013-09-17 21:24:02 +0000 |
| commit | 50689eb91777eba639d8d5134d2a58606a59d7c3 (patch) | |
| tree | de4b0af6a298ca1a33353989c58e170248d8f485 /llvm/lib/MC/WinCOFFObjectWriter.cpp | |
| parent | e7af7bd8d0da8a1895f5af33008386efcbb4052f (diff) | |
| download | bcm5719-llvm-50689eb91777eba639d8d5134d2a58606a59d7c3.tar.gz bcm5719-llvm-50689eb91777eba639d8d5134d2a58606a59d7c3.zip | |
COFF: Remove ExportSection, which has been dead since r114823
llvm-svn: 190887
Diffstat (limited to 'llvm/lib/MC/WinCOFFObjectWriter.cpp')
| -rw-r--r-- | llvm/lib/MC/WinCOFFObjectWriter.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/llvm/lib/MC/WinCOFFObjectWriter.cpp b/llvm/lib/MC/WinCOFFObjectWriter.cpp index 7e9ac87fcec..e85c33dc9c7 100644 --- a/llvm/lib/MC/WinCOFFObjectWriter.cpp +++ b/llvm/lib/MC/WinCOFFObjectWriter.cpp @@ -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 |

