[PATCH] [Support][Program] Add findProgramByName(Name, OptionalPaths)

Michael Spencer bigcheesegs at gmail.com
Fri Oct 31 15:38:48 PDT 2014


Hi aaron.ballman, asl,

This adds a replacement for FindProgramByName that accepts an optional list of paths to search. The main intent of this change is to move the code in Clang that searches for tools over to this API so that we correctly find .exe files on Windows.

Followup patches move all users of FindProgramByName over and remove it.

http://reviews.llvm.org/D6067

Files:
  include/llvm/Support/Program.h
  lib/Support/Unix/Program.inc
  lib/Support/Windows/Program.inc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D6067.15656.patch
Type: text/x-patch
Size: 5292 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141031/7bceebdc/attachment.bin>


More information about the llvm-commits mailing list