[llvm-bugs] [Bug 50401] New: llvm::sys::findProgramByName may return a directory path

via llvm-bugs llvm-bugs at lists.llvm.org
Wed May 19 03:03:01 PDT 2021


https://bugs.llvm.org/show_bug.cgi?id=50401

            Bug ID: 50401
           Summary: llvm::sys::findProgramByName may return a directory
                    path
           Product: libraries
           Version: 12.0
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Support Libraries
          Assignee: unassignedbugs at nondot.org
          Reporter: xudongr at 163.com
                CC: llvm-bugs at lists.llvm.org

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

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20210519/5735dae9/attachment-0001.html>


More information about the llvm-bugs mailing list