[Lldb-commits] [PATCH] D96939: [lldb] Add a note to the core file loading error message that mentions archives

Jonas Devlieghere via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu Feb 18 00:09:49 PST 2021


JDevlieghere added inline comments.


================
Comment at: lldb/source/Commands/CommandObjectTarget.cpp:431
+          result.AppendMessage(
+              "Note: If the passed file is a compressed file archive containing"
+              " a core file, you first need to manually extract the core file "
----------------
For consistency with `warning` and `error`, `Note` should be lowercase. 

[begin potential yak shaving]
It would be nice to extend `CommandReturnObject` with the notion of notes. That way they could be colored in the same way that `error` and `warning` are. LLVM's `WithColor` already has a dedicated `note` color. 
[end potential yak shaving]


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D96939/new/

https://reviews.llvm.org/D96939



More information about the lldb-commits mailing list