[Lldb-commits] [lldb] [lldb] Emit progress events in SymbolFileDWARFDebugMap (PR #133211)
Adrian Prantl via lldb-commits
lldb-commits at lists.llvm.org
Thu Mar 27 09:20:15 PDT 2025
================
@@ -1148,16 +1175,16 @@ SymbolFileDWARFDebugMap::ParseCallEdgesInFunction(
DWARFDIE SymbolFileDWARFDebugMap::FindDefinitionDIE(const DWARFDIE &die) {
DWARFDIE result;
- ForEachSymbolFile([&](SymbolFileDWARF *oso_dwarf) {
- result = oso_dwarf->FindDefinitionDIE(die);
- return result ? IterationAction::Stop : IterationAction::Continue;
- });
+ ForEachSymbolFile(
+ "Looking up type definition", [&](SymbolFileDWARF *oso_dwarf) {
----------------
adrian-prantl wrote:
Not your code, but either we should pass a reference here or check for nullptr...
https://github.com/llvm/llvm-project/pull/133211
More information about the lldb-commits
mailing list