[Lldb-commits] [lldb] [llvm] [llvm]Added lib/Telemetry (PR #98528)
Pavel Labath via lldb-commits
lldb-commits at lists.llvm.org
Wed Jul 24 01:35:10 PDT 2024
================
@@ -0,0 +1,153 @@
+#ifndef LLDB_CORE_TELEMETRY_H
+#define LLDB_CORE_TELEMETRY_H
+
+#include <chrono>
+#include <ctime>
+#include <memory>
+#include <optional>
+#include <string>
+#include <unordered_map>
+
+#include "lldb/Interpreter/CommandReturnObject.h"
+#include "lldb/Utility/StructuredData.h"
+#include "lldb/lldb-forward.h"
+#include "llvm/ADT/StringExtras.h"
+#include "llvm/ADT/StringRef.h"
+#include "llvm/Telemetry/Telemetry.h"
+
+using namespace llvm::telemetry;
----------------
labath wrote:
Can't use this in a header as it effectively defeats the purpose of namespacing.
https://github.com/llvm/llvm-project/pull/98528
More information about the lldb-commits
mailing list