aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectMemory.cpp
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2025-03-05 10:49:49 -0600
committerGitHub <noreply@github.com>2025-03-05 08:49:49 -0800
commit6c4febee2992d206e95e2ed2294fe216739af1cb (patch)
tree54d228a259c97a6a318071c0f8cfbaf3ad7f486a /lldb/source/Commands/CommandObjectMemory.cpp
parente04f4cce85e08760d513abca4276542aa1363593 (diff)
downloadllvm-6c4febee2992d206e95e2ed2294fe216739af1cb.zip
llvm-6c4febee2992d206e95e2ed2294fe216739af1cb.tar.gz
llvm-6c4febee2992d206e95e2ed2294fe216739af1cb.tar.bz2
[lldb-dap] Implement a MemoryMonitor (#129332)
This implements a memory monitor for macOS, Linux and Windows. It registers a callback that invokes `SBDebugger::MemoryPressureDetected` when a low memory event is detected. This is motivated by the new server mode, where the lldb-dap process will live across multiple debug sessions and will use more memory due to caching.
Diffstat (limited to 'lldb/source/Commands/CommandObjectMemory.cpp')
0 files changed, 0 insertions, 0 deletions