[Lldb-commits] [PATCH] D119831: [lldb] Add support for a "global" lldbinit file

Jonas Devlieghere via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu Feb 17 08:33:12 PST 2022


JDevlieghere added a comment.

In D119831#3325798 <https://reviews.llvm.org/D119831#3325798>, @labath wrote:

> It's worth noting that (as a part of the consistency), I have changed the cmake
> variable to point to a directory instead of a file. This means that the init
> file name is currently hardcoded -- currently it's "lldbinit", but we could
> change that into something more complex to support the workflow feature.
>
> In particular, I note the fact that the file name does not include a leading
> dot, as I believe is the practice for global configuration files.

Specifying a directory instead of a file makes sense. Why omit the leading dot though? I can think of a few reasons (you can specify a subdir unlike home, it's probably not something the user modifies unlike the one in home and cwd), but still it seems needlessly confusing to me.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D119831



More information about the lldb-commits mailing list