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

via lldb-commits lldb-commits at lists.llvm.org
Sun Apr 5 01:26:01 PDT 2026


github-actions[bot] wrote:

<!--LLVM CODE FORMAT COMMENT: {clang-format}-->


:warning: C/C++ code formatter, clang-format found issues in your code. :warning:

<details>
<summary>
You can test this locally with the following command:
</summary>

``````````bash
git-clang-format --diff origin/main HEAD --extensions h,cpp -- lldb/include/lldb/Target/Platform.h lldb/include/lldb/Target/Target.h lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp lldb/source/Target/Platform.cpp lldb/source/Target/Target.cpp lldb/unittests/Platform/PlatformDarwinTest.cpp lldb/unittests/Platform/PlatformTest.cpp --diff_from_common_commit
``````````

:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/lldb/source/Target/Target.cpp b/lldb/source/Target/Target.cpp
index eee179c41..a772a15f7 100644
--- a/lldb/source/Target/Target.cpp
+++ b/lldb/source/Target/Target.cpp
@@ -5305,7 +5305,8 @@ void TargetProperties::SetAutoLoadScriptsForModule(
     return;
 
   dict->SetValueForKey(module_name,
-                       std::make_shared<OptionValueEnumeration>(g_load_script_from_sym_file_values, load_style));
+                       std::make_shared<OptionValueEnumeration>(
+                           g_load_script_from_sym_file_values, load_style));
 }
 
 // Target::TargetEventData

``````````

</details>


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


More information about the lldb-commits mailing list