<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - llvm::sys::findProgramByName may return a directory path"
href="https://bugs.llvm.org/show_bug.cgi?id=50401">50401</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>llvm::sys::findProgramByName may return a directory path
</td>
</tr>
<tr>
<th>Product</th>
<td>libraries
</td>
</tr>
<tr>
<th>Version</th>
<td>12.0
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Windows NT
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>enhancement
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>Support Libraries
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>xudongr@163.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>C:\Program Files (x86)\MSBuild\14.0\Bin>dir
...
2016/07/26 17:19 <DIR> MSBuild
2016/06/20 14:45 328,864 MSBuild.exe
2016/06/20 13:04 2,934 MSBuild.exe.config
2015/09/20 17:20 732 MSBuild.rsp
...
llvm::sys::findProgramByName("msbuild", {"C:\Program Files
(x86)\MSBuild\14.0\Bin"}) => C:\Program Files (x86)\MSBuild\14.0\Bin\MSBuild</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>