forked from OSchip/llvm-project
[LLLDB] Adding additional check LibCppStdFunctionCallableInfo based on crash reports
We have seen several crashes in LibCppStdFunctionCallableInfo(...) but we don't have a reproducer. The last crash pointed to last call to line_entry_helper(...) and symbol was a nullptr. So adding a check for this case.
This commit is contained in:
parent
6890f302f5
commit
ebee457131
|
@ -322,6 +322,9 @@ CPPLanguageRuntime::FindLibCppStdFunctionCallableInfo(
|
|||
}
|
||||
}
|
||||
|
||||
if (symbol == nullptr)
|
||||
return optional_info;
|
||||
|
||||
// Case 1 or 3
|
||||
if (scl.GetSize() >= 1) {
|
||||
optional_info = line_entry_helper(target, scl[0], symbol,
|
||||
|
|
Loading…
Reference in New Issue