mirror of
				https://github.com/c64scene-ar/llvm-6502.git
				synced 2025-10-31 08:16:47 +00:00 
			
		
		
		
	Revert r118057, this is better fixed in appendSuffix itself.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118088 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
		| @@ -47,9 +47,7 @@ sys::Path llvm::FindExecutable(const std::string &ExeName, | |||||||
|  |  | ||||||
|   if (!Result.isEmpty()) { |   if (!Result.isEmpty()) { | ||||||
|     Result.appendComponent(ExeName); |     Result.appendComponent(ExeName); | ||||||
|     StringRef EXESuffix = sys::Path::GetEXESuffix(); |     Result.appendSuffix(sys::Path::GetEXESuffix()); | ||||||
|     if (!EXESuffix.empty()) |  | ||||||
|       Result.appendSuffix(EXESuffix); |  | ||||||
|   } |   } | ||||||
|  |  | ||||||
|   return Result; |   return Result; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user