[PATCH] D150167: [BOLT][DWARF][NFC] Fixed an assertion check
Alexander Yermolovich via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue May 9 11:38:35 PDT 2023
This revision was automatically updated to reflect the committed changes.
Closed by commit rG640e07c49037: [BOLT][DWARF][NFC] Fixed an assertion check (authored by ayermolo).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D150167/new/
https://reviews.llvm.org/D150167
Files:
bolt/lib/Rewrite/DWARFRewriter.cpp
Index: bolt/lib/Rewrite/DWARFRewriter.cpp
===================================================================
--- bolt/lib/Rewrite/DWARFRewriter.cpp
+++ bolt/lib/Rewrite/DWARFRewriter.cpp
@@ -199,7 +199,7 @@
std::make_unique<DebugLoclistWriter>(*CU.get(), DwarfVersion, false);
if (std::optional<uint64_t> DWOId = CU->getDWOId()) {
- assert(LocListWritersByCU.count(*DWOId) == 0 &&
+ assert(RangeListsWritersByCU.count(*DWOId) == 0 &&
"RangeLists writer for DWO unit already exists.");
auto RangeListsSectionWriter =
std::make_unique<DebugRangeListsSectionWriter>();
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D150167.520771.patch
Type: text/x-patch
Size: 639 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230509/e7f3e4de/attachment.bin>
More information about the llvm-commits
mailing list