diff options
author | Jonas Devlieghere <jonas@devlieghere.com> | 2025-03-05 10:49:49 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-05 08:49:49 -0800 |
commit | 6c4febee2992d206e95e2ed2294fe216739af1cb (patch) | |
tree | 54d228a259c97a6a318071c0f8cfbaf3ad7f486a /lldb/source/Commands/CommandObjectMemory.cpp | |
parent | e04f4cce85e08760d513abca4276542aa1363593 (diff) | |
download | llvm-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