commit | e01575447635fae1365fc94a8dbb82b31e86ab09 | [log] [tgz] |
---|---|---|
author | Simon Atanasyan <satanasyan@mips.com> | Wed Oct 31 12:01:53 2012 +0000 |
committer | Simon Atanasyan <satanasyan@mips.com> | Wed Oct 31 12:01:53 2012 +0000 |
tree | 89f9aca0f5293f65a6c9540b7f6fb11cc498f562 | |
parent | 986af6fe3842dd08ce6d6e2a2e3dbec1d58cc15d [diff] |
Extend -Bprefix functionality and make it closer to gcc. If the "prefix" is not a directory, Driver::GetProgramPath() routine does not try to append the program name as a "path component" to it. It just joins the "prefix" with the program name and checks the resulting path existence. The patch reviewed by Rafael Espindola. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@167114 91177308-0d34-0410-b5e6-96231b3b80d8