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"
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(std::ostream
*O
) const {
31 void DWLabel::print(std::ostream
&O
) const {
33 if (Number
) O
<< Number
;