]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/llvm/tools/lldb/source/Utility/History.cpp
MFC r343601:
[FreeBSD/FreeBSD.git] / contrib / llvm / tools / lldb / source / Utility / History.cpp
1 //===-- 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/Utility/History.h"
11
12 // C Includes
13 #include <inttypes.h>
14 // C++ Includes
15 // Other libraries and framework includes
16 // Project includes
17 #include "lldb/Utility/Stream.h"
18
19 using namespace lldb;
20 using namespace lldb_private;
21
22 void HistorySourceUInt::DumpHistoryEvent(Stream &strm, HistoryEvent event) {
23   strm.Printf("%s %" PRIu64, m_name.c_str(), (uint64_t)((uintptr_t)event));
24 }