summaryrefslogtreecommitdiffstats
path: root/lib/CodeGen/AsmPrinter/DwarfLabel.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/CodeGen/AsmPrinter/DwarfLabel.h')
-rw-r--r--lib/CodeGen/AsmPrinter/DwarfLabel.h10
1 files changed, 3 insertions, 7 deletions
diff --git a/lib/CodeGen/AsmPrinter/DwarfLabel.h b/lib/CodeGen/AsmPrinter/DwarfLabel.h
index b493903..0c0cc4b 100644
--- a/lib/CodeGen/AsmPrinter/DwarfLabel.h
+++ b/lib/CodeGen/AsmPrinter/DwarfLabel.h
@@ -14,19 +14,16 @@
#ifndef CODEGEN_ASMPRINTER_DWARFLABEL_H__
#define CODEGEN_ASMPRINTER_DWARFLABEL_H__
-#include "llvm/Support/Compiler.h"
-#include <iosfwd>
-#include <vector>
-
namespace llvm {
class FoldingSetNodeID;
+ class raw_ostream;
//===--------------------------------------------------------------------===//
/// DWLabel - Labels are used to track locations in the assembler file.
/// Labels appear in the form @verbatim <prefix><Tag><Number> @endverbatim,
/// where the tag is a category of label (Ex. location) and number is a value
/// unique in that category.
- class VISIBILITY_HIDDEN DWLabel {
+ class DWLabel {
/// Tag - Label category tag. Should always be a statically declared C
/// string.
///
@@ -47,8 +44,7 @@ namespace llvm {
void Profile(FoldingSetNodeID &ID) const;
#ifndef NDEBUG
- void print(std::ostream *O) const;
- void print(std::ostream &O) const;
+ void print(raw_ostream &O) const;
#endif
};
} // end llvm namespace
OpenPOWER on IntegriCloud