Fix two bugpoint bugs:
authorChris Lattner <sabre@nondot.org>
Mon, 19 Mar 2012 23:42:11 +0000 (23:42 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 19 Mar 2012 23:42:11 +0000 (23:42 +0000)
commit1aa73cc05a81f592c376a9f7c0ff2543079b22ca
treeb099d8408e99c9fcf3b4aca4d6d645c858cfc2ef
parente0ac6f8a7d390945c626d8548e1054cf857e3e07
Fix two bugpoint bugs:

1) opt is not usually in the same path as the target program. Even for
the bugpoint as a standalone app, it should be more portable to search
in PATH, isn't it?
2) bugpoint driver accounts opt plugins, but does not list them in the
final output command.

Patch by Dmitry Mikushin!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153066 91177308-0d34-0410-b5e6-96231b3b80d8
tools/bugpoint/OptimizerDriver.cpp