mirror of
https://github.com/intel/llvm.git
synced 2026-01-17 06:40:01 +08:00
Fix the test suite after the changes made in revision 196616 exposed issues in the test suite.
We must make sure that all ValueObject objects always contain a valid target. llvm-svn: 196983
This commit is contained in:
@@ -3516,7 +3516,8 @@ ValueObject::CreateConstantValue (const ConstString &name)
|
||||
|
||||
if (!valobj_sp)
|
||||
{
|
||||
valobj_sp = ValueObjectConstResult::Create (NULL, m_error);
|
||||
ExecutionContext exe_ctx (GetExecutionContextRef());
|
||||
valobj_sp = ValueObjectConstResult::Create (exe_ctx.GetBestExecutionContextScope(), m_error);
|
||||
}
|
||||
return valobj_sp;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user