2020-07-26 15:36:28 -04:00
|
|
|
//===-- UserID.cpp --------------------------------------------------------===//
|
2013-08-23 13:46:38 -04:00
|
|
|
//
|
2019-08-20 16:51:52 -04:00
|
|
|
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
|
|
|
|
// See https://llvm.org/LICENSE.txt for license information.
|
|
|
|
|
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
2013-08-23 13:46:38 -04:00
|
|
|
//
|
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
2017-04-16 12:04:10 -04:00
|
|
|
#include "lldb/Utility/UserID.h"
|
|
|
|
|
#include "lldb/Utility/Stream.h"
|
2013-08-23 13:46:38 -04:00
|
|
|
|
|
|
|
|
#include <inttypes.h>
|
|
|
|
|
|
|
|
|
|
using namespace lldb;
|
|
|
|
|
using namespace lldb_private;
|
|
|
|
|
|
2017-01-02 14:26:05 -05:00
|
|
|
Stream &lldb_private::operator<<(Stream &strm, const UserID &uid) {
|
|
|
|
|
strm.Printf("{0x%8.8" PRIx64 "}", uid.GetID());
|
|
|
|
|
return strm;
|
2013-08-23 13:46:38 -04:00
|
|
|
}
|