summaryrefslogtreecommitdiff
path: root/source/Utility/UserID.cpp
blob: e65b8fa87d81704239c32e2a4d75e8435c843d13 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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 <inttypes.h>

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;
}