forked from OSchip/llvm-project
parent
c6848efaac
commit
cd679fda6c
|
@ -1581,7 +1581,7 @@ const char *Driver::GetNamedOutputPath(Compilation &C,
|
||||||
|
|
||||||
std::string Driver::GetFilePath(const char *Name, const ToolChain &TC) const {
|
std::string Driver::GetFilePath(const char *Name, const ToolChain &TC) const {
|
||||||
// Respect a limited subset of the '-Bprefix' functionality in GCC by
|
// Respect a limited subset of the '-Bprefix' functionality in GCC by
|
||||||
// attempting to use this prefix when lookup up program paths.
|
// attempting to use this prefix when looking for file paths.
|
||||||
for (Driver::prefix_list::const_iterator it = PrefixDirs.begin(),
|
for (Driver::prefix_list::const_iterator it = PrefixDirs.begin(),
|
||||||
ie = PrefixDirs.end(); it != ie; ++it) {
|
ie = PrefixDirs.end(); it != ie; ++it) {
|
||||||
std::string Dir(*it);
|
std::string Dir(*it);
|
||||||
|
@ -1625,7 +1625,7 @@ std::string Driver::GetProgramPath(const char *Name,
|
||||||
// FIXME: Needs a better variable than DefaultTargetTriple
|
// FIXME: Needs a better variable than DefaultTargetTriple
|
||||||
std::string TargetSpecificExecutable(DefaultTargetTriple + "-" + Name);
|
std::string TargetSpecificExecutable(DefaultTargetTriple + "-" + Name);
|
||||||
// Respect a limited subset of the '-Bprefix' functionality in GCC by
|
// Respect a limited subset of the '-Bprefix' functionality in GCC by
|
||||||
// attempting to use this prefix when lokup up program paths.
|
// attempting to use this prefix when looking for program paths.
|
||||||
for (Driver::prefix_list::const_iterator it = PrefixDirs.begin(),
|
for (Driver::prefix_list::const_iterator it = PrefixDirs.begin(),
|
||||||
ie = PrefixDirs.end(); it != ie; ++it) {
|
ie = PrefixDirs.end(); it != ie; ++it) {
|
||||||
llvm::sys::Path P(*it);
|
llvm::sys::Path P(*it);
|
||||||
|
|
Loading…
Reference in New Issue