indicate what the program args line is.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66144 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2009-03-05 06:51:42 +00:00
parent be3ae8e479
commit fcba7cd630

View File

@ -62,8 +62,10 @@ void PrettyStackTraceString::print(raw_ostream &OS) const {
} }
void PrettyStackTraceProgram::print(raw_ostream &OS) const { void PrettyStackTraceProgram::print(raw_ostream &OS) const {
OS << "Program arguments: ";
// Print the argument list. // Print the argument list.
for (unsigned i = 0, e = ArgC; i != e; ++i) for (unsigned i = 0, e = ArgC; i != e; ++i)
OS << ArgV[i] << ' '; OS << ArgV[i] << ' ';
OS << '\n'; OS << '\n';
} }