2011-06-10 06:34:34 +08:00
|
|
|
//===-- 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
|
2012-11-30 05:49:15 +08:00
|
|
|
#include <inttypes.h>
|
2011-06-10 06:34:34 +08:00
|
|
|
// 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)
|
|
|
|
{
|
2012-11-30 05:49:15 +08:00
|
|
|
strm.Printf ("%s %" PRIu64, m_name.c_str(), (uint64_t)((uintptr_t)event));
|
2011-06-10 06:34:34 +08:00
|
|
|
}
|