Fixed an infinite recursion bug that could happen when using python operating system...
authorGreg Clayton <gclayton@apple.com>
Fri, 27 Feb 2015 00:12:22 +0000 (00:12 +0000)
committerGreg Clayton <gclayton@apple.com>
Fri, 27 Feb 2015 00:12:22 +0000 (00:12 +0000)
commitf9da928993fd49fa6b59e964574a5aea5f2cbef8
treeed4cb3fb59f6b314073717c681ca66f3eb2636ec
parent1cdefae9c47208ab0542432ce283d2ded721076b
Fixed an infinite recursion bug that could happen when using python operating system plug-ins where we would ask the operating system plug-in to update its threads and this would cause the plugin to run an expression which would eventually run IRForTarget::CreateResultVariable() which would try to get the selected thread and cause re-entrant bug.

<rdar://problem/19924734>

llvm-svn: 230711
lldb/source/Expression/IRForTarget.cpp