[Lldb-commits] [lldb] r179832 - Reverted 179810, which breaks the expression
Sean Callanan
scallanan at apple.com
Thu Apr 18 19:42:00 PDT 2013
Author: spyffe
Date: Thu Apr 18 21:42:00 2013
New Revision: 179832
URL: http://llvm.org/viewvc/llvm-project?rev=179832&view=rev
Log:
Reverted 179810, which breaks the expression
parser.
Modified:
lldb/trunk/source/Expression/IRMemoryMap.cpp
Modified: lldb/trunk/source/Expression/IRMemoryMap.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Expression/IRMemoryMap.cpp?rev=179832&r1=179831&r2=179832&view=diff
==============================================================================
--- lldb/trunk/source/Expression/IRMemoryMap.cpp (original)
+++ lldb/trunk/source/Expression/IRMemoryMap.cpp Thu Apr 18 21:42:00 2013
@@ -272,7 +272,7 @@ IRMemoryMap::Malloc (size_t size, uint8_
lldb::addr_t mask = alignment - 1;
aligned_address = (allocation_address + mask) & (~mask);
- Allocation allocation;
+ Allocation &allocation(m_allocations[aligned_address]);
allocation.m_process_alloc = allocation_address;
allocation.m_process_start = aligned_address;
@@ -281,8 +281,6 @@ IRMemoryMap::Malloc (size_t size, uint8_
allocation.m_alignment = alignment;
allocation.m_policy = policy;
- m_allocations[aligned_address] = std::move(allocation);
-
switch (policy)
{
default:
More information about the lldb-commits
mailing list