2010-06-09 00:52:24 +08:00
|
|
|
//===-- UserID.cpp ----------------------------------------------*- C++ -*-===//
|
|
|
|
//
|
|
|
|
// The LLVM Compiler Infrastructure
|
|
|
|
//
|
|
|
|
// This file is distributed under the University of Illinois Open Source
|
|
|
|
// License. See LICENSE.TXT for details.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
#include "lldb/Core/UserID.h"
|
|
|
|
#include "lldb/Core/Stream.h"
|
|
|
|
|
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;
|
|
|
|
}
|