diff options
| author | Greg Clayton <gclayton@apple.com> | 2015-02-27 00:12:22 +0000 |
|---|---|---|
| committer | Greg Clayton <gclayton@apple.com> | 2015-02-27 00:12:22 +0000 |
| commit | f9da928993fd49fa6b59e964574a5aea5f2cbef8 (patch) | |
| tree | ed4cb3fb59f6b314073717c681ca66f3eb2636ec | |
| parent | 1cdefae9c47208ab0542432ce283d2ded721076b (diff) | |
| download | bcm5719-llvm-f9da928993fd49fa6b59e964574a5aea5f2cbef8.tar.gz bcm5719-llvm-f9da928993fd49fa6b59e964574a5aea5f2cbef8.zip | |
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
| -rw-r--r-- | lldb/source/Expression/IRForTarget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Expression/IRForTarget.cpp b/lldb/source/Expression/IRForTarget.cpp index e9a769add35..af565138495 100644 --- a/lldb/source/Expression/IRForTarget.cpp +++ b/lldb/source/Expression/IRForTarget.cpp @@ -601,7 +601,7 @@ IRForTarget::CreateResultVariable (llvm::Function &llvm_function) lldb::TargetSP target_sp (m_data_allocator.GetTarget()); - lldb_private::ExecutionContext exe_ctx (target_sp.get(), true); + lldb_private::ExecutionContext exe_ctx (target_sp, true); if (m_result_type.GetBitSize(exe_ctx.GetBestExecutionContextScope()) == 0) { lldb_private::StreamString type_desc_stream; |

