hanchenye-llvm-project/lldb/source/Core/UserID.cpp

24 lines
620 B
C++

//===-- 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"
#include <inttypes.h>
using namespace lldb;
using namespace lldb_private;
Stream&
lldb_private::operator << (Stream& strm, const UserID& uid)
{
strm.Printf("{0x%8.8" PRIx64 "}", uid.GetID());
return strm;
}