[Lldb-commits] [lldb] Define Telemetry plugin for LLDB. (PR #126588)
Pavel Labath via lldb-commits
lldb-commits at lists.llvm.org
Thu Feb 13 07:29:23 PST 2025
================
@@ -0,0 +1,74 @@
+//===-- TelemetryTest.cpp ------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+#include "llvm/Config/llvm-config.h"
+
+#ifdef LLVM_BUILD_TELEMETRY
+
+#include "lldb/Core/PluginInterface.h"
+#include "lldb/Core/PluginManager.h"
+#include "lldb/Core/Telemetry.h"
+#include "llvm/ADT/StringRef.h"
+#include "llvm/Support/Error.h"
+#include "llvm/Telemetry/Telemetry.h"
+#include "gtest/gtest.h"
+
+#include <memory>
----------------
labath wrote:
```suggestion
#include "gtest/gtest.h"
#include <memory>
```
(and then clang-format the file)
https://github.com/llvm/llvm-project/pull/126588
More information about the lldb-commits
mailing list