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:
parent
8286fbf4c4
commit
82cb0309e2
|
@ -802,7 +802,7 @@ public:
|
|||
|
||||
/// @}
|
||||
|
||||
void dump();
|
||||
void dump() const;
|
||||
};
|
||||
|
||||
// FIXME: This really doesn't belong here. See comments below.
|
||||
|
|
|
@ -1243,7 +1243,7 @@ void MCSectionData::dump() {
|
|||
OS << "]>";
|
||||
}
|
||||
|
||||
void MCSymbolData::dump() {
|
||||
void MCSymbolData::dump() const {
|
||||
raw_ostream &OS = llvm::errs();
|
||||
|
||||
OS << "<MCSymbolData Symbol:" << getSymbol()
|
||||
|
|
Loading…
Reference in New Issue