[Lldb-commits] [lldb] [lldb] Add setting to specify (by name) which module's scripting resources can be auto-loaded (PR #188722)

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Thu Mar 26 07:09:25 PDT 2026


JDevlieghere wrote:

Based on the description:

- Let's clearly document the interaction between `target.load-script-from-symbol-file` and `target.auto-load-modules` in the help output. It sounds like the former takes priority if it's true, and otherwise we fall back to the latter.
- I think the current name of the setting is currently somewhat misleading and makes it sound like it's about loading modules rather than their associated scripting resources. How about something like `auto-load-scripts-for-modules`.
- Similar to the feedback I gave @kastiglione in [his PR](https://github.com/llvm/llvm-project/pull/187792#pullrequestreview-3984808905), I think it would be more future proof to make it an enum rather than a boolean. Even better if both of you can share the same enum for that.

https://github.com/llvm/llvm-project/pull/188722


More information about the lldb-commits mailing list