From: Duncan P. N. Exon Smith Date: Wed, 20 May 2015 16:34:36 +0000 (+0000) Subject: MC: Add MCSymbolData back to MCAssembler dump X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=commitdiff_plain;h=91a675f9727e14a8339c192c6d2dffc4f5dd46b5;hp=20cf3f41e719968b82cbbf93cf06e44b148392e9 MC: Add MCSymbolData back to MCAssembler dump r237490 accidentally dropped MCSymbolData from the MCAssembler dump. Add it back underneath the MCSymbol dump. Remove the MCSymbol dump from MCSymbolData, since this would cause an infinite co-recursion, and besides, that back pointer is going away. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@237807 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/MC/MCAssembler.cpp b/lib/MC/MCAssembler.cpp index c8959cfd398..c8ed7d1b1f6 100644 --- a/lib/MC/MCAssembler.cpp +++ b/lib/MC/MCAssembler.cpp @@ -1282,7 +1282,7 @@ void MCSectionData::dump() { void MCSymbolData::dump() const { raw_ostream &OS = llvm::errs(); - OS << "dump(); + OS << ","; + it->getData().dump(); + OS << ")"; } OS << "]>\n"; }