forked from OSchip/llvm-project
[ValueObject] Upstream early exit from swift-lldb. (NFC)
This commit is contained in:
parent
de5417f81d
commit
3ac6863efb
|
@ -589,6 +589,10 @@ ValueObjectSP ValueObject::GetChildMemberWithName(ConstString name,
|
|||
|
||||
std::vector<uint32_t> child_indexes;
|
||||
bool omit_empty_base_classes = true;
|
||||
|
||||
if (!GetCompilerType().IsValid())
|
||||
return ValueObjectSP();
|
||||
|
||||
const size_t num_child_indexes =
|
||||
GetCompilerType().GetIndexOfChildMemberWithName(
|
||||
name.GetCString(), omit_empty_base_classes, child_indexes);
|
||||
|
|
Loading…
Reference in New Issue