mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
cf11411573
Tweak #includes. llvm-svn: 79800
33 lines
846 B
C++
33 lines
846 B
C++
//===--- lib/CodeGen/DwarfLabel.cpp - Dwarf Label -------------------------===//
|
|
//
|
|
// The LLVM Compiler Infrastructure
|
|
//
|
|
// This file is distributed under the University of Illinois Open Source
|
|
// License. See LICENSE.TXT for details.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
//
|
|
// DWARF Labels
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#include "DwarfLabel.h"
|
|
#include "llvm/ADT/FoldingSet.h"
|
|
#include "llvm/Support/raw_ostream.h"
|
|
|
|
using namespace llvm;
|
|
|
|
/// Profile - Used to gather unique data for the folding set.
|
|
///
|
|
void DWLabel::Profile(FoldingSetNodeID &ID) const {
|
|
ID.AddString(Tag);
|
|
ID.AddInteger(Number);
|
|
}
|
|
|
|
#ifndef NDEBUG
|
|
void DWLabel::print(raw_ostream &O) const {
|
|
O << "." << Tag;
|
|
if (Number) O << Number;
|
|
}
|
|
#endif
|