diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2017-04-16 16:04:10 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2017-04-16 16:04:10 +0000 |
| commit | 74a628f776edb588bff8f8f5cc16eac947c9d631 (patch) | |
| tree | dc32e010ac4902621e5a279bfeb48628f7f0e166 /source/Utility/History.cpp | |
| parent | afed7be32164a598f8172282c249af7266c48b46 (diff) | |
Diffstat (limited to 'source/Utility/History.cpp')
| -rw-r--r-- | source/Utility/History.cpp | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/source/Utility/History.cpp b/source/Utility/History.cpp new file mode 100644 index 000000000000..10344b67c635 --- /dev/null +++ b/source/Utility/History.cpp @@ -0,0 +1,24 @@ +//===-- 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)); +} |
