• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 //===-- UserID.cpp --------------------------------------------------------===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8 
9 #include "lldb/Utility/UserID.h"
10 #include "lldb/Utility/Stream.h"
11 
12 #include <inttypes.h>
13 
14 using namespace lldb;
15 using namespace lldb_private;
16 
operator <<(Stream & strm,const UserID & uid)17 Stream &lldb_private::operator<<(Stream &strm, const UserID &uid) {
18   strm.Printf("{0x%8.8" PRIx64 "}", uid.GetID());
19   return strm;
20 }
21