[Lldb-commits] [lldb] Define Telemetry plugin for LLDB. (PR #126588)

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Thu Feb 13 02:21:04 PST 2025


================
@@ -0,0 +1,13 @@
+if (LLVM_BUILD_TELEMETRY)
+  add_lldb_library(lldbPluginTelemetryFakePlugin PLUGIN
+                   FakePlugin.cpp
+
+  LINK_LIBS
+    lldbCore
+    lldbUtility
+    lldbPluginProcessUtility
+  LINK_COMPONENTS
+    Support
+    Telemetry                   
+  )
----------------
labath wrote:

I think this will actually cause the plugin to be linked into the main lldb library. We definitely don't want that. There's no need to emulate the plugin setup so elaborately. Just define the fake plugin inside `TelemetryTest.cpp`

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


More information about the lldb-commits mailing list