diff options
| author | Johannes Doerfert <johannes@jdoerfert.de> | 2021-02-05 10:53:33 -0600 |
|---|---|---|
| committer | Johannes Doerfert <johannes@jdoerfert.de> | 2021-02-06 12:18:39 -0600 |
| commit | b7d870eae7fdadcf10d0f177faa7409c2e37d776 (patch) | |
| tree | 208eb97f65ea5d11d7390f386a87332b94c946dd /lldb/test/API/python_api/process/TestProcessAPI.py | |
| parent | 378f4e5ec26c3e0d2119c1112ec645b369eed2de (diff) | |
[AssumptionCache] Avoid dangling llvm.assume calls in the cache
PR49043 exposed a problem when it comes to RAUW llvm.assumes. While
D96106 would fix it for GVNSink, it seems a more general concern. To
avoid future problems this patch moves away from the vector of weak
reference model used in the assumption cache. Instead, we track the
llvm.assume calls with a callback handle which will remove itself from
the cache if the call is deleted.
Fixes PR49043.
Reviewed By: nikic
Differential Revision: https://reviews.llvm.org/D96168
Diffstat (limited to 'lldb/test/API/python_api/process/TestProcessAPI.py')
0 files changed, 0 insertions, 0 deletions
