mib added inline comments.
================
Comment at: lldb/source/Interpreter/CommandInterpreter.cpp:2183
/// whose name is "~/.lldbinit" followed by a "-" and the name of the program.
-/// If this file doesn't exist, we fall back to just the "~/.lldbinit" file.
-void CommandInterpreter::SourceInitFileHome(CommandReturnObject &result) {
+/// If this file doesn't exist, we fall back to the REPL init file or the
+/// default home init file in "~/.lldbinit".
----------------
JDevlieghere wrote:
> This is wrong, you check the REPL file first, fi that works you use that,
> otherwise you fall back to the app specific one, and finally to the global
> one.
Yes, but the application init file overrides the REPL init file that also
override the global one, that's why I put it this way in the comment.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D86242/new/
https://reviews.llvm.org/D86242
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits