llvm-project/lldb/source/Utility/History.cpp

25 lines
733 B
C++
Raw Normal View History

//===-- 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));
}