[Lldb-commits] [lldb] [RFC][LLDB] Telemetry in LLDB (PR #87815)

via lldb-commits lldb-commits at lists.llvm.org
Fri Apr 5 11:34:16 PDT 2024


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 2606c87788153bf33d854fa5c3a03e16d544c5d7 7321a9073f1ec326f53ada9f40e258c038037af2 -- lldb/include/lldb/Core/Telemetry.h lldb/source/Core/Telemetry.cpp lldb/include/lldb/API/SBDebugger.h lldb/include/lldb/Core/Debugger.h lldb/include/lldb/Target/Process.h lldb/source/API/SBDebugger.cpp lldb/source/Core/Debugger.cpp lldb/source/Interpreter/CommandInterpreter.cpp lldb/source/Target/Process.cpp lldb/source/Target/Target.cpp lldb/tools/lldb-dap/DAP.cpp
``````````

</details>

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

``````````diff
diff --git a/lldb/include/lldb/Core/Telemetry.h b/lldb/include/lldb/Core/Telemetry.h
index f021437772..4b9dc87d58 100644
--- a/lldb/include/lldb/Core/Telemetry.h
+++ b/lldb/include/lldb/Core/Telemetry.h
@@ -215,12 +215,12 @@ destination:/path/to/some/file
 
 The allowed field_name values are:
  * enable_logging
-       If the fields are specified more than once, the last line will take precedence
-       If enable_logging is set to false, no logging will occur.
+       If the fields are specified more than once, the last line will take
+precedence If enable_logging is set to false, no logging will occur.
  * destination.
-      This is allowed to be specified multiple times - it will add to the default
-      (ie, specified by vendor) list of destinations.
-      The value can be either of
+      This is allowed to be specified multiple times - it will add to the
+default (ie, specified by vendor) list of destinations. The value can be either
+of
          + one of the two magic values "stdout" or "stderr".
          + a path to a local file
 

``````````

</details>


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


More information about the lldb-commits mailing list