LLDB  mainline
UserID.cpp
Go to the documentation of this file.
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 <cinttypes>
13 
14 using namespace lldb;
15 using namespace lldb_private;
16 
18  strm.Printf("{0x%8.8" PRIx64 "}", uid.GetID());
19  return strm;
20 }
lldb_private::UserID
Definition: UserID.h:31
lldb_private::Stream
Definition: Stream.h:28
UserID.h
lldb_private::UserID::GetID
lldb::user_id_t GetID() const
Get accessor for the user ID.
Definition: UserID.h:47
lldb_private::operator<<
Stream & operator<<(Stream &s, const SourceLocationSpec &loc)
Dump a SourceLocationSpec object to a stream.
Definition: SourceLocationSpec.cpp:40
lldb_private::Stream::Printf
size_t Printf(const char *format,...) __attribute__((format(printf
Output printf formatted output to the stream.
Definition: Stream.cpp:107
lldb_private
A class that represents a running process on the host machine.
Definition: SBCommandInterpreterRunOptions.h:16
Stream.h
lldb
Definition: SBAddress.h:15