mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-28 22:43:29 +00:00
Revert r118057, this is better fixed in appendSuffix itself.
llvm-svn: 118088
This commit is contained in:
parent
cdd587157f
commit
97788c1061
@ -47,9 +47,7 @@ sys::Path llvm::FindExecutable(const std::string &ExeName,
|
||||
|
||||
if (!Result.isEmpty()) {
|
||||
Result.appendComponent(ExeName);
|
||||
StringRef EXESuffix = sys::Path::GetEXESuffix();
|
||||
if (!EXESuffix.empty())
|
||||
Result.appendSuffix(EXESuffix);
|
||||
Result.appendSuffix(sys::Path::GetEXESuffix());
|
||||
}
|
||||
|
||||
return Result;
|
||||
|
Loading…
Reference in New Issue
Block a user