1 //===-- 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/Utility/UserID.h"
11 #include "lldb/Utility/Stream.h"
12 
13 #include <inttypes.h>
14 
15 using namespace lldb;
16 using namespace lldb_private;
17 
18 Stream &lldb_private::operator<<(Stream &strm, const UserID &uid) {
19   strm.Printf("{0x%8.8" PRIx64 "}", uid.GetID());
20   return strm;
21 }
22