2010-06-08 16:52:24 +00: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.
|
|
|
|
|
//
|
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
2017-03-06 18:34:25 +00:00
|
|
|
#include "lldb/Utility/UserID.h"
|
2017-02-02 21:39:50 +00:00
|
|
|
#include "lldb/Utility/Stream.h"
|
2010-06-08 16:52:24 +00:00
|
|
|
|
2012-11-29 21:49:15 +00:00
|
|
|
#include <inttypes.h>
|
|
|
|
|
|
2010-06-08 16:52:24 +00:00
|
|
|
using namespace lldb;
|
|
|
|
|
using namespace lldb_private;
|
|
|
|
|
|
2016-09-06 20:57:50 +00:00
|
|
|
Stream &lldb_private::operator<<(Stream &strm, const UserID &uid) {
|
|
|
|
|
strm.Printf("{0x%8.8" PRIx64 "}", uid.GetID());
|
|
|
|
|
return strm;
|
2010-06-08 16:52:24 +00:00
|
|
|
}
|