[PATCH] D134094: [BOLT][NFC] Remove unreachable assertion
Maksim Panchenko via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 16 17:03:51 PDT 2022
This revision was automatically updated to reflect the committed changes.
Closed by commit rGf1a11d770e59: [BOLT][NFC] Remove unreachable assertion (authored by maksfb).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D134094/new/
https://reviews.llvm.org/D134094
Files:
bolt/lib/Rewrite/RewriteInstance.cpp
Index: bolt/lib/Rewrite/RewriteInstance.cpp
===================================================================
--- bolt/lib/Rewrite/RewriteInstance.cpp
+++ 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())
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D134094.460948.patch
Type: text/x-patch
Size: 478 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220917/58c98069/attachment.bin>
More information about the llvm-commits
mailing list