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 b9b35fd commit df44ff1Copy full SHA for df44ff1
llvm/lib/DebugInfo/DWARF/DWARFVerifier.cpp
@@ -638,9 +638,9 @@ unsigned DWARFVerifier::verifyDebugInfoReferences() {
638
// getting the DIE by offset and emitting an error
639
OS << "Verifying .debug_info references...\n";
640
unsigned NumErrors = 0;
641
- for (auto Pair : ReferenceToDIEOffsets) {
642
- auto Die = DCtx.getDIEForOffset(Pair.first);
643
- if (Die)
+ for (const std::pair<uint64_t, std::set<uint32_t>> &Pair :
+ ReferenceToDIEOffsets) {
+ if (DCtx.getDIEForOffset(Pair.first))
644
continue;
645
++NumErrors;
646
error() << "invalid DIE reference " << format("0x%08" PRIx64, Pair.first)
0 commit comments