summaryrefslogtreecommitdiffstats
path: root/llvm/tools/bugpoint/OptimizerDriver.cpp
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2009-08-18 06:08:01 +0000
committerNick Lewycky <nicholas@mxc.ca>2009-08-18 06:08:01 +0000
commite6e82b84808e68fafe58ba0383aaa54cdfb2597f (patch)
tree1e848689a799c1a992033c2053a2aca85e4e5193 /llvm/tools/bugpoint/OptimizerDriver.cpp
parent966d32dffbd0538e317a30086dd352d3abbe07d9 (diff)
downloadbcm5719-llvm-e6e82b84808e68fafe58ba0383aaa54cdfb2597f.tar.gz
bcm5719-llvm-e6e82b84808e68fafe58ba0383aaa54cdfb2597f.zip
Include valgrind in the steps to reproduce if valgrind was used to reproduce
the problem. llvm-svn: 79322
Diffstat (limited to 'llvm/tools/bugpoint/OptimizerDriver.cpp')
-rw-r--r--llvm/tools/bugpoint/OptimizerDriver.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/tools/bugpoint/OptimizerDriver.cpp b/llvm/tools/bugpoint/OptimizerDriver.cpp
index b38d8cfe836..257647f08f9 100644
--- a/llvm/tools/bugpoint/OptimizerDriver.cpp
+++ b/llvm/tools/bugpoint/OptimizerDriver.cpp
@@ -77,6 +77,7 @@ void BugDriver::EmitProgressBitcode(const std::string &ID, bool NoFlyer) {
outs() << "Emitted bitcode to '" << Filename << "'\n";
if (NoFlyer || PassesToRun.empty()) return;
outs() << "\n*** You can reproduce the problem with: ";
+ if (UseValgrind) outs() << "valgrind ";
outs() << "opt " << Filename << " ";
outs() << getPassesString(PassesToRun) << "\n";
}
OpenPOWER on IntegriCloud