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 | 4157d68ece29acc711aa8f1f5a294ddbb6e0c017 (patch) | |
tree | 630fc37a74f68b432be282a842b3ab761ab5ea4f /lib/MC/WinCOFFObjectWriter.cpp | |
parent | 2bc3cd83b34b3f76dfb98940201f35464150fa9f (diff) | |
download | external_llvm-4157d68ece29acc711aa8f1f5a294ddbb6e0c017.zip external_llvm-4157d68ece29acc711aa8f1f5a294ddbb6e0c017.tar.gz external_llvm-4157d68ece29acc711aa8f1f5a294ddbb6e0c017.tar.bz2 |
COFF: Remove ExportSection, which has been dead since r114823
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190887 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/MC/WinCOFFObjectWriter.cpp')
-rw-r--r-- | lib/MC/WinCOFFObjectWriter.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/MC/WinCOFFObjectWriter.cpp b/lib/MC/WinCOFFObjectWriter.cpp index 7e9ac87..e85c33d 100644 --- a/lib/MC/WinCOFFObjectWriter.cpp +++ b/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 |