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

Greg Clayton via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Tue Feb 15 16:08:35 PST 2022


clayborg added a comment.

This looks good to me. Just a few things to possibly think about:

- Maybe we would want addition system init files for different workflows and then we would start lldb with a new option like "lldb --workflow qemu" and it would load the system ".lldbinit-qemu" init file. That way we could have many supported workflows from one distribution. Here at Facebook we would have at least 3 that I know of: "fb-ios", "fb-android" and "fb-server". We would still have a system ".lldbinit" for global settings of course.
- We were currently doing stuff like this in python where it would auto import some of our facebook specific python modules when the debugger starts up, would that be useful as well? It wouldn't really be needed here because we could just "command script import" in the init files


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