Skip to content

Commit 148b667

Browse files
committed
fixup! more adjustments to error messages
1 parent ac4e990 commit 148b667

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lldb/source/Expression/IRExecutionUnit.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -799,7 +799,7 @@ ResolveFunctionCallLabel(const FunctionCallLabel &label,
799799
auto sc_or_err = symbol_file->ResolveFunctionCallLabel(label);
800800
if (!sc_or_err)
801801
return llvm::joinErrors(
802-
llvm::createStringError("failed to resolve function by UID"),
802+
llvm::createStringError("failed to resolve function by UID:"),
803803
sc_or_err.takeError());
804804

805805
SymbolContextList sc_list;

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 = *die_or_err;

0 commit comments

Comments
 (0)