diff options
| -rw-r--r-- | llvm/lib/MC/XCOFFObjectWriter.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/llvm/lib/MC/XCOFFObjectWriter.cpp b/llvm/lib/MC/XCOFFObjectWriter.cpp index 79a94b19828..94c95279c06 100644 --- a/llvm/lib/MC/XCOFFObjectWriter.cpp +++ b/llvm/lib/MC/XCOFFObjectWriter.cpp @@ -343,9 +343,7 @@ void XCOFFObjectWriter::writeSectionHeaderTable() { } void XCOFFObjectWriter::writeSymbolTable() { - assert((ProgramCodeCsects.size() == 1 && - ProgramCodeCsects.back().Syms.size() == 0) && - ".text csects not handled yet."); + assert(ProgramCodeCsects.size() == 0 && ".text csects not handled yet."); // The BSS Section is special in that the csects must contain a single symbol, // and the contained symbol cannot be represented in the symbol table as a |

