MC: make MCSymbolData::dump work on const objects

This just lets us dump a const MCSymbolData object, no functionality
changed.

llvm-svn: 212365
This commit is contained in:
David Majnemer 2014-07-05 00:39:52 +00:00
parent 8286fbf4c4
commit 82cb0309e2
2 changed files with 2 additions and 2 deletions

View File

@ -802,7 +802,7 @@ public:
/// @}
void dump();
void dump() const;
};
// FIXME: This really doesn't belong here. See comments below.

View File

@ -1243,7 +1243,7 @@ void MCSectionData::dump() {
OS << "]>";
}
void MCSymbolData::dump() {
void MCSymbolData::dump() const {
raw_ostream &OS = llvm::errs();
OS << "<MCSymbolData Symbol:" << getSymbol()