summaryrefslogtreecommitdiffstats
path: root/lldb/source/Utility/History.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Utility/History.cpp')
-rw-r--r--lldb/source/Utility/History.cpp24
1 files changed, 24 insertions, 0 deletions
diff --git a/lldb/source/Utility/History.cpp b/lldb/source/Utility/History.cpp
new file mode 100644
index 00000000000..10344b67c63
--- /dev/null
+++ b/lldb/source/Utility/History.cpp
@@ -0,0 +1,24 @@
+//===-- History.cpp ---------------------------------------------*- C++ -*-===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+
+#include "lldb/Utility/History.h"
+
+// C Includes
+#include <inttypes.h>
+// C++ Includes
+// Other libraries and framework includes
+// Project includes
+#include "lldb/Utility/Stream.h"
+
+using namespace lldb;
+using namespace lldb_private;
+
+void HistorySourceUInt::DumpHistoryEvent(Stream &strm, HistoryEvent event) {
+ strm.Printf("%s %" PRIu64, m_name.c_str(), (uint64_t)((uintptr_t)event));
+}
OpenPOWER on IntegriCloud