mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 02:52:53 +02:00
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
981dd0e2b0
commit
1603762816
@ -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
Block a user