[BOLT][NFC] Remove unreachable assertion
Reviewed By: ayermolo Differential Revision: https://reviews.llvm.org/D134094
This commit is contained in:
parent
30b550f14c
commit
f1a11d770e
|
@ -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())
|
||||
|
|
Loading…
Reference in New Issue