summaryrefslogtreecommitdiffstats
path: root/lldb/source/Core/StreamCallback.cpp
diff options
context:
space:
mode:
authorSean Callanan <scallanan@apple.com>2012-03-01 02:03:47 +0000
committerSean Callanan <scallanan@apple.com>2012-03-01 02:03:47 +0000
commitd5f33a86f0ee245a04718e774c990fb242ecd091 (patch)
tree045744926753531928369bd694fa2d500fa80b46 /lldb/source/Core/StreamCallback.cpp
parent1ee768db53dfbaab76f56c11fdc73d3e2e8c3996 (diff)
downloadbcm5719-llvm-d5f33a86f0ee245a04718e774c990fb242ecd091.tar.gz
bcm5719-llvm-d5f33a86f0ee245a04718e774c990fb242ecd091.zip
Updated LLVM to take a new MC JIT that supports
allocations by section. We install these sections in the target process and inform the JIT of their new locations. Also removed some unused variable warnings. llvm-svn: 151789
Diffstat (limited to 'lldb/source/Core/StreamCallback.cpp')
-rw-r--r--lldb/source/Core/StreamCallback.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/lldb/source/Core/StreamCallback.cpp b/lldb/source/Core/StreamCallback.cpp
index b6545d5932e..edce04e8ed8 100644
--- a/lldb/source/Core/StreamCallback.cpp
+++ b/lldb/source/Core/StreamCallback.cpp
@@ -36,8 +36,7 @@ StreamString &
StreamCallback::FindStreamForThread(lldb::tid_t cur_tid)
{
Mutex::Locker (m_collection_mutex);
- collection::iterator iter, end_iter = m_accumulated_data.end();
- iter = m_accumulated_data.find (cur_tid);
+ collection::iterator iter = m_accumulated_data.find (cur_tid);
if (iter == m_accumulated_data.end())
{
std::pair<collection::iterator, bool> ret;
OpenPOWER on IntegriCloud