[lldb] Make conversions from llvm::Error explicit with Status::FromEr… (#107163)

…ror() [NFC]
This commit is contained in:
Adrian Prantl
2024-09-05 12:19:31 -07:00
committed by GitHub
parent 5e1e6a689c
commit a0dd90eb7d
46 changed files with 157 additions and 140 deletions

View File

@@ -1658,7 +1658,7 @@ SBError SBTarget::SetLabel(const char *label) {
if (!target_sp)
return Status::FromErrorString("Couldn't get internal target object.");
return Status(target_sp->SetLabel(label));
return Status::FromError(target_sp->SetLabel(label));
}
uint32_t SBTarget::GetDataByteSize() {