diff options
author | Ed Maste <emaste@FreeBSD.org> | 2015-07-03 16:57:06 +0000 |
---|---|---|
committer | Ed Maste <emaste@FreeBSD.org> | 2015-07-03 16:57:06 +0000 |
commit | 5e95aa85bb660d45e9905ef1d7180b2678280660 (patch) | |
tree | 3c2e41c3be19b7fc7666ed45a5f91ec3b6e35f2a /include/lldb/Core/ModuleList.h | |
parent | 12bd4897ff0678fa663e09d78ebc22dd255ceb86 (diff) |
Diffstat (limited to 'include/lldb/Core/ModuleList.h')
-rw-r--r-- | include/lldb/Core/ModuleList.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/lldb/Core/ModuleList.h b/include/lldb/Core/ModuleList.h index a46e212da9bb..f4c12cf168ac 100644 --- a/include/lldb/Core/ModuleList.h +++ b/include/lldb/Core/ModuleList.h @@ -12,6 +12,7 @@ #include <vector> #include <list> +#include <functional> #include "lldb/lldb-private.h" #include "lldb/Host/Mutex.h" @@ -562,6 +563,9 @@ public: static bool RemoveSharedModuleIfOrphaned (const Module *module_ptr); + void + ForEach (std::function <bool (const lldb::ModuleSP &module_sp)> const &callback) const; + protected: //------------------------------------------------------------------ // Class typedefs. |