[llvm-commits] [PATCH] Fix for llvm::FindExecutable (fails to find executable if path is provided)

Chris Lattner clattner at apple.com
Wed Jul 1 08:44:02 PDT 2009


On Jun 30, 2009, at 11:52 PM, Viktor Kutuzov wrote:

> Hello everyone,
>
> The llvm::FindExecutable fails to find a named executible if full  
> path is provided.

Hi Viktor,

Please use sys::Path::isAbsolute to check to see if it is an absolute  
path, this will work on windows as well as unix.  Thanks,

-Chris

>
> Please find the patch attached.
>
> Best regards,
> Viktor
> <SystemUtils.cpp.diff>_______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits




More information about the llvm-commits mailing list