diff options
Diffstat (limited to 'llvm/lib/MC')
-rw-r--r-- | llvm/lib/MC/MCExpr.cpp | 2 | ||||
-rw-r--r-- | llvm/lib/MC/MCFragment.cpp | 4 | ||||
-rw-r--r-- | llvm/lib/MC/MCInst.cpp | 4 | ||||
-rw-r--r-- | llvm/lib/MC/MCLabel.cpp | 2 | ||||
-rw-r--r-- | llvm/lib/MC/MCParser/MCAsmParser.cpp | 2 | ||||
-rw-r--r-- | llvm/lib/MC/MCSection.cpp | 2 | ||||
-rw-r--r-- | llvm/lib/MC/MCSymbol.cpp | 2 | ||||
-rw-r--r-- | llvm/lib/MC/MCValue.cpp | 2 | ||||
-rw-r--r-- | llvm/lib/MC/SubtargetFeature.cpp | 2 |
9 files changed, 11 insertions, 11 deletions
diff --git a/llvm/lib/MC/MCExpr.cpp b/llvm/lib/MC/MCExpr.cpp index 748644bd9c8..f1a3ffdf1ed 100644 --- a/llvm/lib/MC/MCExpr.cpp +++ b/llvm/lib/MC/MCExpr.cpp @@ -129,7 +129,7 @@ void MCExpr::print(raw_ostream &OS, const MCAsmInfo *MAI) const { } #if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP) -void MCExpr::dump() const { +LLVM_DUMP_METHOD void MCExpr::dump() const { dbgs() << *this; dbgs() << '\n'; } diff --git a/llvm/lib/MC/MCFragment.cpp b/llvm/lib/MC/MCFragment.cpp index 09570d7fbe4..67f57a5c8fe 100644 --- a/llvm/lib/MC/MCFragment.cpp +++ b/llvm/lib/MC/MCFragment.cpp @@ -311,7 +311,7 @@ raw_ostream &operator<<(raw_ostream &OS, const MCFixup &AF) { } #if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP) -void MCFragment::dump() { +LLVM_DUMP_METHOD void MCFragment::dump() { raw_ostream &OS = llvm::errs(); OS << "<"; @@ -433,7 +433,7 @@ void MCFragment::dump() { OS << ">"; } -void MCAssembler::dump() { +LLVM_DUMP_METHOD void MCAssembler::dump() { raw_ostream &OS = llvm::errs(); OS << "<MCAssembler\n"; diff --git a/llvm/lib/MC/MCInst.cpp b/llvm/lib/MC/MCInst.cpp index 5f829aeb339..16bc597cf3a 100644 --- a/llvm/lib/MC/MCInst.cpp +++ b/llvm/lib/MC/MCInst.cpp @@ -35,7 +35,7 @@ void MCOperand::print(raw_ostream &OS) const { } #if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP) -void MCOperand::dump() const { +LLVM_DUMP_METHOD void MCOperand::dump() const { print(dbgs()); dbgs() << "\n"; } @@ -66,7 +66,7 @@ void MCInst::dump_pretty(raw_ostream &OS, const MCInstPrinter *Printer, } #if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP) -void MCInst::dump() const { +LLVM_DUMP_METHOD void MCInst::dump() const { print(dbgs()); dbgs() << "\n"; } diff --git a/llvm/lib/MC/MCLabel.cpp b/llvm/lib/MC/MCLabel.cpp index 1d3022a93e8..d973fc93b98 100644 --- a/llvm/lib/MC/MCLabel.cpp +++ b/llvm/lib/MC/MCLabel.cpp @@ -17,7 +17,7 @@ void MCLabel::print(raw_ostream &OS) const { } #if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP) -void MCLabel::dump() const { +LLVM_DUMP_METHOD void MCLabel::dump() const { print(dbgs()); } #endif diff --git a/llvm/lib/MC/MCParser/MCAsmParser.cpp b/llvm/lib/MC/MCParser/MCAsmParser.cpp index 9bd7d9eebef..dc7a3f00840 100644 --- a/llvm/lib/MC/MCParser/MCAsmParser.cpp +++ b/llvm/lib/MC/MCParser/MCAsmParser.cpp @@ -43,7 +43,7 @@ bool MCAsmParser::parseExpression(const MCExpr *&Res) { return parseExpression(Res, L); } -void MCParsedAsmOperand::dump() const { +LLVM_DUMP_METHOD void MCParsedAsmOperand::dump() const { #if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP) dbgs() << " " << *this; #endif diff --git a/llvm/lib/MC/MCSection.cpp b/llvm/lib/MC/MCSection.cpp index dbd544a44ce..32e4cce4f68 100644 --- a/llvm/lib/MC/MCSection.cpp +++ b/llvm/lib/MC/MCSection.cpp @@ -86,7 +86,7 @@ MCSection::getSubsectionInsertionPoint(unsigned Subsection) { } #if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP) -void MCSection::dump() { +LLVM_DUMP_METHOD void MCSection::dump() { raw_ostream &OS = llvm::errs(); OS << "<MCSection"; diff --git a/llvm/lib/MC/MCSymbol.cpp b/llvm/lib/MC/MCSymbol.cpp index ab3b8eb6832..2ddece6bddc 100644 --- a/llvm/lib/MC/MCSymbol.cpp +++ b/llvm/lib/MC/MCSymbol.cpp @@ -77,5 +77,5 @@ void MCSymbol::print(raw_ostream &OS, const MCAsmInfo *MAI) const { } #if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP) -void MCSymbol::dump() const { dbgs() << *this; } +LLVM_DUMP_METHOD void MCSymbol::dump() const { dbgs() << *this; } #endif diff --git a/llvm/lib/MC/MCValue.cpp b/llvm/lib/MC/MCValue.cpp index 495a2b6ea5b..32a6adbf224 100644 --- a/llvm/lib/MC/MCValue.cpp +++ b/llvm/lib/MC/MCValue.cpp @@ -38,7 +38,7 @@ void MCValue::print(raw_ostream &OS) const { } #if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP) -void MCValue::dump() const { +LLVM_DUMP_METHOD void MCValue::dump() const { print(dbgs()); } #endif diff --git a/llvm/lib/MC/SubtargetFeature.cpp b/llvm/lib/MC/SubtargetFeature.cpp index 7cce0fe756e..2e63f1e41e7 100644 --- a/llvm/lib/MC/SubtargetFeature.cpp +++ b/llvm/lib/MC/SubtargetFeature.cpp @@ -284,7 +284,7 @@ void SubtargetFeatures::print(raw_ostream &OS) const { #if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP) /// dump - Dump feature info. /// -void SubtargetFeatures::dump() const { +LLVM_DUMP_METHOD void SubtargetFeatures::dump() const { print(dbgs()); } #endif |