blob: f3d6e5b2218566bdc8b363fefd943e920dc16ebd [file] [log] [blame]
Chris Lattner30fdc8d2010-06-08 16:52:24 +00001//===-- UserID.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/Core/UserID.h"
11#include "lldb/Core/Stream.h"
12
Daniel Malead01b2952012-11-29 21:49:15 +000013#include <inttypes.h>
14
Chris Lattner30fdc8d2010-06-08 16:52:24 +000015using namespace lldb;
16using namespace lldb_private;
17
Chris Lattner30fdc8d2010-06-08 16:52:24 +000018Stream&
19lldb_private::operator << (Stream& strm, const UserID& uid)
20{
Daniel Malead01b2952012-11-29 21:49:15 +000021 strm.Printf("{0x%8.8" PRIx64 "}", uid.GetID());
Chris Lattner30fdc8d2010-06-08 16:52:24 +000022 return strm;
23}