We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b108fbe commit 74e06e6Copy full SHA for 74e06e6
bolt/lib/Core/BinaryContext.cpp
@@ -1759,7 +1759,10 @@ void BinaryContext::preprocessDebugInfo() {
1759
dwarf::toString(CU->getUnitDIE().find(dwarf::DW_AT_name), nullptr);
1760
if (std::optional<uint64_t> DWOID = CU->getDWOId()) {
1761
auto Iter = DWOCUs.find(*DWOID);
1762
- assert(Iter != DWOCUs.end() && "DWO CU was not found.");
+ if (Iter == DWOCUs.end()) {
1763
+ this->errs() << "DWO CU was not found for " << Name << '\n';
1764
+ exit(1);
1765
+ }
1766
Name = dwarf::toString(
1767
Iter->second->getUnitDIE().find(dwarf::DW_AT_name), nullptr);
1768
}
0 commit comments