forked from OSchip/llvm-project
Fix assert in XCOFFObjectWriter related to program code csects.
Removed code that added program code csects to a collection as part of addressing review comments, but I failed to update an assert affected by the change before commiting. llvm-svn: 369471
This commit is contained in:
parent
26121ae4d0
commit
9467734a1c
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue