[Lldb-commits] [PATCH] D153685: [lldb] Add `source cache dump` and `source cache clear` subcommand
Jonas Devlieghere via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Fri Jun 23 22:39:33 PDT 2023
JDevlieghere created this revision.
JDevlieghere added reviewers: bulbazord, clayborg, jingham, jasonmolenda.
Herald added a project: All.
JDevlieghere requested review of this revision.
Add two new `source` subcommands: `source cache dump` and `source cache clear`. As the name implies the first one dumps the source cache while the later clears the cache.
This patch was motivated by a handful of (internal) bug reports related to sources not being available. Right now those issues can be hard to diagnose. The new commands give users, as well as us as developers, more insight into and control over the source cache.
https://reviews.llvm.org/D153685
Files:
lldb/include/lldb/Core/Debugger.h
lldb/include/lldb/Core/SourceManager.h
lldb/source/Commands/CommandObjectSource.cpp
lldb/source/Core/SourceManager.cpp
lldb/test/API/source-manager/TestSourceManager.py
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D153685.534159.patch
Type: text/x-patch
Size: 6543 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20230624/998b8258/attachment.bin>
More information about the lldb-commits
mailing list