================ @@ -18,25 +18,35 @@ namespace lldb_private { -struct FakeTelemetryInfo : public llvm::telemetry::TelemetryInfo { +struct FakeTelemetryInfo : public telemetry::LLDBBaseTelemetryInfo { std::string msg; + int num; + + ::llvm::telemetry::KindType getKind() const override { return 0b11111; } }; class TestDestination : public llvm::telemetry::Destination { public: - TestDestination(std::vector<const llvm::telemetry::TelemetryInfo *> *entries) + TestDestination(std::vector<llvm::telemetry::TelemetryInfo *> *entries) ---------------- labath wrote:
```suggestion explicit TestDestination(std::vector<std::unique_ptr<llvm::telemetry::TelemetryInfo>> &entries) ``` https://github.com/llvm/llvm-project/pull/127696 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits