summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Object/ObjectFile.cpp
diff options
context:
space:
mode:
authorLuke Drummond <luke.drummond@codeplay.com>2016-08-03 17:31:58 +0000
committerLuke Drummond <luke.drummond@codeplay.com>2016-08-03 17:31:58 +0000
commit5d05763761758c7ab425f32221571b94d4bd2b61 (patch)
tree30071cafb46ff2cd4dbd706a473f583e52adf170 /llvm/lib/Object/ObjectFile.cpp
parent51a767c6b86b6f2e2c10a308e50b2ab3a423b8b8 (diff)
downloadbcm5719-llvm-5d05763761758c7ab425f32221571b94d4bd2b61.tar.gz
bcm5719-llvm-5d05763761758c7ab425f32221571b94d4bd2b61.zip
[RenderScript] Always create a new allocation ID in CaptureAllocationInit hook
Due to internal reuse of buffers in the RenderScript runtime by the system allocator, comparing pointers is not a safe way to check whether an allocation is tracked by lldb. This change updates the lldb RenderScript internal hook callback to properly identify and remove old allocations that had have an address that is currently being tracked. This change also removes the need for `lldb_private::renderscript::LookupAllocation` to take a `create` flag, as this is now always the case. Original Author: <dean@codeplay.com> Subscribers: lldb-commits llvm-svn: 277613
Diffstat (limited to 'llvm/lib/Object/ObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud