blob: 0105dce730d29acbe1d0b51f65ce7f9d8e4f3694 [file] [log] [blame]
Greg Clayton9d479442011-06-09 22:34:34 +00001//===-- History.cpp ---------------------------------------------*- C++ -*-===//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//
9
10#include "lldb/Core/History.h"
11
12// C Includes
Daniel Malea5f35a4b2012-11-29 21:49:15 +000013#include <inttypes.h>
Greg Clayton9d479442011-06-09 22:34:34 +000014// C++ Includes
15// Other libraries and framework includes
16// Project includes
17#include "lldb/Core/Stream.h"
18
19using namespace lldb;
20using namespace lldb_private;
21
22void
23HistorySourceUInt::DumpHistoryEvent (Stream &strm, HistoryEvent event)
24{
Daniel Malea5f35a4b2012-11-29 21:49:15 +000025 strm.Printf ("%s %" PRIu64, m_name.c_str(), (uint64_t)((uintptr_t)event));
Greg Clayton9d479442011-06-09 22:34:34 +000026}