llvm-project/lldb
Luke Drummond 5d05763761 [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
2016-08-03 17:31:58 +00:00
..
cmake Fix the BUILD_SHARED_LIBS=ON build, was getting the following error while linking liblldb.so: 2016-08-03 10:46:42 +00:00
docs Support loading files even when incorrect file name specified by the linker 2016-07-22 12:55:35 +00:00
examples Fixup the "shadow" example command to use the function that takes an execution context now that the @lldb.command decorator does the right thing for the command function that takes 5 arguments. 2016-06-28 00:06:35 +00:00
include/lldb Support for OCaml native debugging 2016-08-02 11:15:55 +00:00
lit Replace hardcoded comment at 'lit.site.cfg.in' 2016-04-16 07:14:05 +00:00
lldb.xcodeproj Revert "updated Xcode project r277139" 2016-07-29 16:00:25 +00:00
lldb.xcworkspace Revert r275223, which committed the wrong thing. 2016-07-12 23:31:42 +00:00
packages/Python/lldbsuite Revert rL277429: Correct makefile.rules to use toolchain specific AR and OBJCOPY 2016-08-02 13:17:49 +00:00
resources Bump the lldb version # in the xcode project files from 2016-03-15 04:36:11 +00:00
scripts Add LLVM build config for BuildAndIntegration. 2016-07-12 01:44:58 +00:00
source [RenderScript] Always create a new allocation ID in CaptureAllocationInit hook 2016-08-03 17:31:58 +00:00
test Always rerun all tests on Windows. 2016-05-23 17:32:04 +00:00
third_party/Python/module Put progress.py back, apparently this can't be deleted. 2015-12-09 21:32:28 +00:00
tools [lldb] Delete dead, infinitely-recursive code (NFC) 2016-08-01 16:37:42 +00:00
unittests Revert "Rewrite gdb-remote's SendContinuePacketAndWaitForResponse" 2016-07-29 15:41:52 +00:00
utils Python 3: Modernize exception raising syntax. 2015-11-03 21:01:45 +00:00
www Update the website with lots of new info about building / testing. 2016-02-24 22:19:23 +00:00
.arcconfig Upgrade all the .arcconfigs to https. 2016-07-14 13:15:37 +00:00
.clang-format Update .clang-format file to support break after return type. 2015-12-28 22:09:29 +00:00
.gitignore [lldb] Ignore various test artifacts (NFCI) 2016-08-01 15:15:46 +00:00
CMakeLists.txt [CMake] Update to requiring CMake 3.4.3 2016-05-31 20:21:44 +00:00
CODE_OWNERS.txt Added myself to the CODE_OWNERS.txt list for a few subsystems. 2015-11-09 01:24:36 +00:00
INSTALL.txt Revert the patch to Test Commit Access 2015-07-06 11:26:51 +00:00
LICENSE.TXT
use_lldb_suite_root.py Preparation for turning lldbsuite into a Python package. 2015-10-27 22:33:47 +00:00