mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-25 21:18:19 +00:00
IR: Print a newline when dumping Types
Type::dump() doesn't print a newline, which makes for a poor experience in a debugger. This looks like it was an ommission considering Value::dump() two lines above, so I've changed Type to add a newline as well. Of the two in-tree callers, one added a newline anyway, and I've updated the other one to use Type::print instead. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@215421 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -2290,7 +2290,7 @@ void Value::printAsOperand(raw_ostream &O, bool PrintType, const Module *M) cons
|
||||
void Value::dump() const { print(dbgs()); dbgs() << '\n'; }
|
||||
|
||||
// Type::dump - allow easy printing of Types from the debugger.
|
||||
void Type::dump() const { print(dbgs()); }
|
||||
void Type::dump() const { print(dbgs()); dbgs() << '\n'; }
|
||||
|
||||
// Module::dump() - Allow printing of Modules from the debugger.
|
||||
void Module::dump() const { print(dbgs(), nullptr); }
|
||||
|
||||
Reference in New Issue
Block a user