From: Reid Spencer Date: Fri, 27 Oct 2006 18:58:54 +0000 (+0000) Subject: Make the Value and Type methods print a newline so it prints nicely in gdb X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=461076f05287bde5a2817c3426120596e6962f31;p=oota-llvm.git Make the Value and Type methods print a newline so it prints nicely in gdb git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31221 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/VMCore/AsmWriter.cpp b/lib/VMCore/AsmWriter.cpp index 58ff9716481..25a84f14b5b 100644 --- a/lib/VMCore/AsmWriter.cpp +++ b/lib/VMCore/AsmWriter.cpp @@ -1357,11 +1357,11 @@ void Argument::print(std::ostream &o) const { // Value::dump - allow easy printing of Values from the debugger. // Located here because so much of the needed functionality is here. -void Value::dump() const { print(std::cerr); } +void Value::dump() const { print(std::cerr); std::cerr << '\n'; } // Type::dump - allow easy printing of Values from the debugger. // Located here because so much of the needed functionality is here. -void Type::dump() const { print(std::cerr); } +void Type::dump() const { print(std::cerr); std::cerr << '\n'; } //===----------------------------------------------------------------------===// // CachedWriter Class Implementation