diff options
| author | Snehasish Kumar <snehasishk@google.com> | 2021-10-07 16:35:11 -0700 |
|---|---|---|
| committer | Snehasish Kumar <snehasishk@google.com> | 2021-11-11 11:29:36 -0800 |
| commit | d19470540a0769313d219295f245975af5589edb (patch) | |
| tree | cef330a42d2f2eb93de8d57b82dfcf81a1d56f8d /lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.h | |
| parent | 986416251b354bb1b45870617050e72919ff2759 (diff) | |
| download | llvm-d19470540a0769313d219295f245975af5589edb.zip llvm-d19470540a0769313d219295f245975af5589edb.tar.gz llvm-d19470540a0769313d219295f245975af5589edb.tar.bz2 | |
[sanitizer] Add a ForEach callback interface for AddrHashMap.
This change adds a ForEach method to the AddrHashMap class which can
then be used to iterate over all the key value pairs in the hash map.
I intend to use this in an upcoming change to the memprof runtime.
Added a unit test to cover basic insertion and the ForEach callback.
Differential Revision: https://reviews.llvm.org/D111368
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.h')
0 files changed, 0 insertions, 0 deletions
