diff --git a/bolt/lib/Rewrite/RewriteInstance.cpp b/bolt/lib/Rewrite/RewriteInstance.cpp --- a/bolt/lib/Rewrite/RewriteInstance.cpp +++ b/bolt/lib/Rewrite/RewriteInstance.cpp @@ -1152,7 +1152,6 @@ << 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())