From f9322415dc9f6c1433fe728e0ebfa4659e594093 Mon Sep 17 00:00:00 2001 From: Greg Clayton Date: Thu, 15 Dec 2011 04:38:41 +0000 Subject: Added a static memory pressure function in SBDebugger: void SBDebugger::MemoryPressureDetected () This can be called by applications that detect memory pressure to cause LLDB to release cached information. llvm-svn: 146640 --- lldb/scripts/Python/interface/SBDebugger.i | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lldb/scripts/Python/interface') diff --git a/lldb/scripts/Python/interface/SBDebugger.i b/lldb/scripts/Python/interface/SBDebugger.i index 184109b5a5a..1882021f5e9 100644 --- a/lldb/scripts/Python/interface/SBDebugger.i +++ b/lldb/scripts/Python/interface/SBDebugger.i @@ -122,6 +122,9 @@ public: static void Destroy (lldb::SBDebugger &debugger); + static void + MemoryPressureDetected(); + SBDebugger(); SBDebugger(const lldb::SBDebugger &rhs); -- cgit v1.2.3