Skip to content

Commit 97f7140

Browse files
committed
fixup! more adjustments to error messages
1 parent ce75a0a commit 97f7140

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
@@ -798,7 +798,7 @@ ResolveFunctionCallLabel(const FunctionCallLabel &label,
798798
auto sc_or_err = symbol_file->ResolveFunctionCallLabel(label);
799799
if (!sc_or_err)
800800
return llvm::joinErrors(
801-
llvm::createStringError("failed to resolve function by UID"),
801+
llvm::createStringError("failed to resolve function by UID:"),
802802
sc_or_err.takeError());
803803

804804
SymbolContextList sc_list;

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

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

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

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

26422642
die = *die_or_err;

0 commit comments

Comments
 (0)