Make Target::CalculateProcess() return a sensible result.

The Calculate* functions in general should not derive any information that isn't
implicit, but for Target the process pointer is a member so it's fine to return
it for CalculateProcess().

llvm-svn: 260713
This commit is contained in:
Sean Callanan 2016-02-12 19:45:31 +00:00
parent 51e1523d70
commit 92734d1b2b
1 changed files with 1 additions and 1 deletions

View File

@ -1941,7 +1941,7 @@ Target::CalculateTarget ()
ProcessSP
Target::CalculateProcess ()
{
return ProcessSP();
return m_process_sp;
}
ThreadSP