180814287SRaphael Isemann //===-- UserID.cpp --------------------------------------------------------===// 2fb1a0a0dSZachary Turner // 32946cd70SChandler Carruth // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 42946cd70SChandler Carruth // See https://llvm.org/LICENSE.txt for license information. 52946cd70SChandler Carruth // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 6fb1a0a0dSZachary Turner // 7fb1a0a0dSZachary Turner //===----------------------------------------------------------------------===// 8fb1a0a0dSZachary Turner 9fb1a0a0dSZachary Turner #include "lldb/Utility/UserID.h" 10fb1a0a0dSZachary Turner #include "lldb/Utility/Stream.h" 11fb1a0a0dSZachary Turner 12*76e47d48SRaphael Isemann #include <cinttypes> 13fb1a0a0dSZachary Turner 14fb1a0a0dSZachary Turner using namespace lldb; 15fb1a0a0dSZachary Turner using namespace lldb_private; 16fb1a0a0dSZachary Turner operator <<(Stream & strm,const UserID & uid)17fb1a0a0dSZachary TurnerStream &lldb_private::operator<<(Stream &strm, const UserID &uid) { 18fb1a0a0dSZachary Turner strm.Printf("{0x%8.8" PRIx64 "}", uid.GetID()); 19fb1a0a0dSZachary Turner return strm; 20fb1a0a0dSZachary Turner } 21