From 91a675f9727e14a8339c192c6d2dffc4f5dd46b5 Mon Sep 17 00:00:00 2001 From: "Duncan P. N. Exon Smith" Date: Wed, 20 May 2015 16:34:36 +0000 Subject: [PATCH] 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 --- lib/MC/MCAssembler.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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"; } -- 2.34.1