1 //===--- lib/CodeGen/DwarfLabel.cpp - Dwarf Label -------------------------===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
12 //===----------------------------------------------------------------------===//
14 #include "DwarfLabel.h"
15 #include "llvm/ADT/FoldingSet.h"
16 #include "llvm/Support/raw_ostream.h"
20 /// Profile - Used to gather unique data for the folding set.
22 void DWLabel::Profile(FoldingSetNodeID &ID) const {
24 ID.AddInteger(Number);
28 void DWLabel::print(raw_ostream &O) const {
30 if (Number) O << Number;