search for: findprogrambynam

Displaying 4 results from an estimated 4 matches for "findprogrambynam".

Did you mean: findprogrambyname
2015 May 21
2
[LLVMdev] Driver::GetProgramPath is unable to find programs with file extension in name
Hello, We are having a problem with linker lookup on Windows. When the driver tries to locate a program by its name, e.g. a linker, it scans the paths provided by the toolchain using ScanDirForExecutable and then, if fails, uses llvm::sys::findProgramByName, which on Windows searches the CWD and system path. ScanDirForExecutable disregards file extensions, so search in the toolchain-provided dirs on Windows fails. llvm::sys::findProgramByName is aware of extensions via the "PATHEXT" env variable (it also has ".exe" hardcoded)....
2009 Jul 17
3
[LLVMdev] [PATCH 1/2] Trailing whitespace.
...rns an integer result code indicating the status of the program. /// A zero or positive value indicates the result code of the program. A - /// negative value is the signal number on which it terminated. + /// negative value is the signal number on which it terminated. /// @see FindProgrambyName /// @brief Executes the program with the given set of \p args. static void ExecuteNoWait( - const Path& path, ///< sys::Path object providing the path of the - ///< program to be executed. It is presumed this is the result of + const Path& path, /...
2009 Jul 17
1
[LLVMdev] [PATCH 2/2] Make Program::ExecuteNoWait return a process ID.
...g the status of the program. - /// A zero or positive value indicates the result code of the program. A - /// negative value is the signal number on which it terminated. + /// @returns the child process's process ID on success, or 0 if the + /// invocation failed. /// @see FindProgrambyName /// @brief Executes the program with the given set of \p args. - static void ExecuteNoWait( + static ProcessID ExecuteNoWait( const Path& path, ///< sys::Path object providing the path of the ///< program to be executed. It is presumed this is the result...
2009 Jul 17
0
[LLVMdev] [PATCH 2/2] Make Program::ExecuteNoWait return a process ID.
...ram. > -     /// A zero or positive value indicates the result code of the program. A > -     /// negative value is the signal number on which it terminated. > +     /// @returns the child process's process ID on success, or 0 if the > +     /// invocation failed. >      /// @see FindProgrambyName >      /// @brief Executes the program with the given set of \p args. > -     static void ExecuteNoWait( > +     static ProcessID ExecuteNoWait( >         const Path& path,  ///< sys::Path object providing the path of the >         ///< program to be executed. It is presum...