forked from OSchip/llvm-project
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:
parent
51e1523d70
commit
92734d1b2b
|
@ -1941,7 +1941,7 @@ Target::CalculateTarget ()
|
|||
ProcessSP
|
||||
Target::CalculateProcess ()
|
||||
{
|
||||
return ProcessSP();
|
||||
return m_process_sp;
|
||||
}
|
||||
|
||||
ThreadSP
|
||||
|
|
Loading…
Reference in New Issue