[BOLT][NFC] Remove unreachable assertion

Reviewed By: ayermolo

Differential Revision: https://reviews.llvm.org/D134094
This commit is contained in:
Maksim Panchenko 2022-09-16 16:45:19 -07:00
parent 30b550f14c
commit f1a11d770e
1 changed files with 0 additions and 1 deletions

View File

@ -1152,7 +1152,6 @@ void RewriteInstance::discoverFileObjects() {
<< Twine::utohexstr(Address) << ") does not have any section\n";
continue;
}
assert(Section && "section for functions must be registered");
// Skip symbols from zero-sized sections.
if (!Section->getSize())