aboutsummaryrefslogtreecommitdiff
path: root/source/Core/History.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/Core/History.cpp')
-rw-r--r--source/Core/History.cpp26
1 files changed, 26 insertions, 0 deletions
diff --git a/source/Core/History.cpp b/source/Core/History.cpp
new file mode 100644
index 000000000000..0105dce730d2
--- /dev/null
+++ b/source/Core/History.cpp
@@ -0,0 +1,26 @@
+//===-- 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/Core/History.h"
+
+// C Includes
+#include <inttypes.h>
+// C++ Includes
+// Other libraries and framework includes
+// Project includes
+#include "lldb/Core/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));
+}