forked from OSchip/llvm-project
[lldb] Check SafeToCallFunctions before calling functions in GetExceptionObjectForThread
Differential Revision: https://reviews.llvm.org/D56115 llvm-svn: 350375
This commit is contained in:
parent
6265a15f2e
commit
19d1f20927
|
@ -554,6 +554,9 @@ bool ItaniumABILanguageRuntime::ExceptionBreakpointsExplainStop(
|
|||
|
||||
ValueObjectSP ItaniumABILanguageRuntime::GetExceptionObjectForThread(
|
||||
ThreadSP thread_sp) {
|
||||
if (!thread_sp->SafeToCallFunctions())
|
||||
return {};
|
||||
|
||||
ClangASTContext *clang_ast_context =
|
||||
m_process->GetTarget().GetScratchClangASTContext();
|
||||
CompilerType voidstar =
|
||||
|
|
Loading…
Reference in New Issue