summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/thread/main.cpp
diff options
context:
space:
mode:
authorJason Henline <jhen@google.com>2016-09-02 17:22:42 +0000
committerJason Henline <jhen@google.com>2016-09-02 17:22:42 +0000
commit31b88cb030fab7b35720c78798e7efff1596187a (patch)
tree911433284942c62e6fcfb824353b13a7a61b0462 /lldb/packages/Python/lldbsuite/test/python_api/thread/main.cpp
parent26c43c879c3540aba03a2d67d3848a6b66b4b90a (diff)
downloadbcm5719-llvm-31b88cb030fab7b35720c78798e7efff1596187a.tar.gz
bcm5719-llvm-31b88cb030fab7b35720c78798e7efff1596187a.zip
[SE] GlobalDeviceMemory owns its handle
Summary: Final step in getting GlobalDeviceMemory to own its handle. * Make GlobalDeviceMemory movable, but no longer copyable. * Make Device::freeDeviceMemory function private and make GlobalDeviceMemoryBase a friend of Device so GlobalDeviceMemoryBase can free its memory in its destructor. * Make GlobalDeviceMemory constructor private and make Device a friend so it can construct GlobalDeviceMemory. * Remove SharedDeviceMemoryBase class because it is never used. * Remove explicit memory freeing from example code. This change just consumes any errors generated during device memory freeing. The real error handling will be added in a future patch. Reviewers: jlebar Subscribers: jprice, parallel_libs-commits Differential Revision: https://reviews.llvm.org/D24195 llvm-svn: 280509
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/thread/main.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud