Updated the IRExecutionUnit to keep local copies
authorSean Callanan <scallanan@apple.com>
Tue, 19 Mar 2013 23:03:21 +0000 (23:03 +0000)
committerSean Callanan <scallanan@apple.com>
Tue, 19 Mar 2013 23:03:21 +0000 (23:03 +0000)
commit2c0473563096131603232069a9d2c29c3eb4d605
tree07e8961b845014cd5f8d7b499e4bee96f957f719
parent25132d51561fb64c303ab19c77a95ca997f8a78e
Updated the IRExecutionUnit to keep local copies
of the data it writes down into the process even
if the process doesn't exist.  This will allow
the IR interpreter to access static data allocated
on the expression's behalf.

Also cleaned up object ownership in the
IRExecutionUnit so that allocations are created
into the allocations vector.  This avoids needless
data copies.

<rdar://problem/13424594>

llvm-svn: 177456
lldb/include/lldb/Expression/IRExecutionUnit.h
lldb/source/Expression/IRExecutionUnit.cpp