2010-06-09 00:52:24 +08:00
|
|
|
//===-- UserID.cpp ----------------------------------------------*- C++ -*-===//
|
|
|
|
//
|
2019-01-19 16:50:56 +08: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
|
2010-06-09 00:52:24 +08:00
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
2017-03-07 02:34:25 +08:00
|
|
|
#include "lldb/Utility/UserID.h"
|
2017-02-03 05:39:50 +08:00
|
|
|
#include "lldb/Utility/Stream.h"
|
2010-06-09 00:52:24 +08:00
|
|
|
|
2012-11-30 05:49:15 +08:00
|
|
|
#include <inttypes.h>
|
|
|
|
|
2010-06-09 00:52:24 +08:00
|
|
|
using namespace lldb;
|
|
|
|
using namespace lldb_private;
|
|
|
|
|
|
|
|
Stream &lldb_private::operator<<(Stream &strm, const UserID &uid) {
|
2012-11-30 05:49:15 +08:00
|
|
|
strm.Printf("{0x%8.8" PRIx64 "}", uid.GetID());
|
2010-06-09 00:52:24 +08:00
|
|
|
return strm;
|
|
|
|
}
|