[Lldb-commits] [lldb] Reapply LLDB-Telemetry TargetInfo branch (pr/127834) (PR #132043)

via lldb-commits lldb-commits at lists.llvm.org
Wed Mar 19 07:50:30 PDT 2025


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 67a01131a8d70fcd06c6bd9cea30a8a6262c8c94 8a84a2e3328d7058917a63693632bacb0357f639 --extensions h,cpp -- lldb/include/lldb/Core/Telemetry.h lldb/source/Core/Telemetry.cpp lldb/source/Interpreter/CommandInterpreter.cpp lldb/source/Target/Process.cpp lldb/source/Target/Target.cpp
``````````

</details>

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

``````````diff
diff --git a/lldb/source/Target/Process.cpp b/lldb/source/Target/Process.cpp
index 43d7b46253..00faa8cc82 100644
--- a/lldb/source/Target/Process.cpp
+++ b/lldb/source/Target/Process.cpp
@@ -1072,11 +1072,11 @@ bool Process::SetExitStatus(int status, llvm::StringRef exit_string) {
   // Find the executable-module's UUID, if available.
   UUID module_uuid;
   TargetSP target_sp(Debugger::FindTargetWithProcessID(m_pid));
-   if (target_sp) {
+  if (target_sp) {
     helper.SetDebugger(&target_sp->GetDebugger());
     if (ModuleSP mod = target_sp->GetExecutableModule())
       module_uuid = mod->GetUUID();
-   }
+  }
 
   helper.DispatchNow([&](telemetry::ProcessExitInfo *info) {
     info->module_uuid = module_uuid;

``````````

</details>


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


More information about the lldb-commits mailing list