aboutsummaryrefslogtreecommitdiff
path: root/lldb/unittests/Process/gdb-remote/GDBRemoteCommunicationClientTest.cpp
diff options
context:
space:
mode:
authorEugene Zhulenev <ezhulenev@google.com>2020-11-20 02:42:28 -0800
committerEugene Zhulenev <ezhulenev@google.com>2020-11-20 03:08:44 -0800
commita86a9b5ef777552d1683e2b9031e2045d39de2f0 (patch)
tree5d4a3f27203286201835bf28e9d839b5da6bb21b /lldb/unittests/Process/gdb-remote/GDBRemoteCommunicationClientTest.cpp
parent7a18bdb350e4a0318776cf66cf280b386eb9c3e8 (diff)
downloadllvm-a86a9b5ef777552d1683e2b9031e2045d39de2f0.zip
llvm-a86a9b5ef777552d1683e2b9031e2045d39de2f0.tar.gz
llvm-a86a9b5ef777552d1683e2b9031e2045d39de2f0.tar.bz2
[mlir] Automatic reference counting for Async values + runtime support for ref counted objects
Depends On D89963 **Automatic reference counting algorithm outline:** 1. `ReturnLike` operations forward the reference counted values without modifying the reference count. 2. Use liveness analysis to find blocks in the CFG where the lifetime of reference counted values ends, and insert `drop_ref` operations after the last use of the value. 3. Insert `add_ref` before the `async.execute` operation capturing the value, and pairing `drop_ref` before the async body region terminator, to release the captured reference counted value when execution completes. 4. If the reference counted value is passed only to some of the block successors, insert `drop_ref` operations in the beginning of the blocks that do not have reference coutned value uses. Reviewed By: silvas Differential Revision: https://reviews.llvm.org/D90716
Diffstat (limited to 'lldb/unittests/Process/gdb-remote/GDBRemoteCommunicationClientTest.cpp')
0 files changed, 0 insertions, 0 deletions