From fb1a0a0d2facc5cff81fad4e9dcd18b176bcf37a Mon Sep 17 00:00:00 2001 From: Zachary Turner Date: Mon, 6 Mar 2017 18:34:25 +0000 Subject: Move many other files from Core -> Utility. llvm-svn: 297043 --- lldb/source/Utility/UserID.cpp | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 lldb/source/Utility/UserID.cpp (limited to 'lldb/source/Utility/UserID.cpp') diff --git a/lldb/source/Utility/UserID.cpp b/lldb/source/Utility/UserID.cpp new file mode 100644 index 00000000000..e65b8fa87d8 --- /dev/null +++ b/lldb/source/Utility/UserID.cpp @@ -0,0 +1,21 @@ +//===-- UserID.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/UserID.h" +#include "lldb/Utility/Stream.h" + +#include + +using namespace lldb; +using namespace lldb_private; + +Stream &lldb_private::operator<<(Stream &strm, const UserID &uid) { + strm.Printf("{0x%8.8" PRIx64 "}", uid.GetID()); + return strm; +} -- cgit v1.2.3