diff options
author | Jonas Devlieghere <jonas@devlieghere.com> | 2023-06-26 09:16:23 -0700 |
---|---|---|
committer | Jonas Devlieghere <jonas@devlieghere.com> | 2023-06-26 10:40:08 -0700 |
commit | d49caf4afc1bc460600b316f9736e01ceeebded5 (patch) | |
tree | 9ee2be997a6ac1312bdd90f44a405135037bc460 /lldb/source/Commands/CommandObjectTarget.cpp | |
parent | 5f69e6682bf0806c13098f79cb5f1ee30f0f8c06 (diff) | |
download | llvm-d49caf4afc1bc460600b316f9736e01ceeebded5.zip llvm-d49caf4afc1bc460600b316f9736e01ceeebded5.tar.gz llvm-d49caf4afc1bc460600b316f9736e01ceeebded5.tar.bz2 |
[lldb] Add `source cache dump` and `source cache clear` subcommand
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.
Differential revision: https://reviews.llvm.org/D153685
Diffstat (limited to 'lldb/source/Commands/CommandObjectTarget.cpp')
-rw-r--r-- | lldb/source/Commands/CommandObjectTarget.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Commands/CommandObjectTarget.cpp b/lldb/source/Commands/CommandObjectTarget.cpp index 300053b..81a2fe4 100644 --- a/lldb/source/Commands/CommandObjectTarget.cpp +++ b/lldb/source/Commands/CommandObjectTarget.cpp @@ -5105,8 +5105,8 @@ public: CommandObjectTargetDumpTypesystem(CommandInterpreter &interpreter) : CommandObjectParsed( interpreter, "target dump typesystem", - "Dump the state of the target's internal type system.\n" - "Intended to be used for debugging LLDB itself.", + "Dump the state of the target's internal type system. Intended to " + "be used for debugging LLDB itself.", nullptr, eCommandRequiresTarget) {} ~CommandObjectTargetDumpTypesystem() override = default; |