Skip to content

Commit f8b885c

Browse files
committed
fixup! more adjustments to error messages
1 parent afe5c2a commit f8b885c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2619,7 +2619,7 @@ SymbolFileDWARF::FindFunctionDefinition(const FunctionCallLabel &label,
26192619
}
26202620

26212621
return llvm::createStringError(llvm::formatv(
2622-
"failed to find structor variant DIE for label: {0}", label));
2622+
"failed to find DIE for structor variant: {0}", label.discriminator));
26232623
}
26242624

26252625
llvm::Expected<SymbolContext>
@@ -2637,7 +2637,7 @@ SymbolFileDWARF::ResolveFunctionCallLabel(const FunctionCallLabel &label) {
26372637
auto die_or_err = FindFunctionDefinition(label, die);
26382638
if (!die_or_err)
26392639
return llvm::joinErrors(
2640-
llvm::createStringError("failed to find definition DIE"),
2640+
llvm::createStringError("failed to find definition DIE:"),
26412641
die_or_err.takeError());
26422642

26432643
die = std::move(*die_or_err);

0 commit comments

Comments
 (0)