mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-02 04:24:22 +00:00
Rename FindExecutable to PrependMainExecutablePath.
Makes it more clear that it is just a path manipulation function. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118174 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -57,7 +57,8 @@ namespace {
|
||||
sys::Path prog(name);
|
||||
|
||||
if (!prog.isAbsolute()) {
|
||||
prog = FindExecutable(name, ProgramName, (void *)(intptr_t)&Main);
|
||||
prog = PrependMainExecutablePath(name, ProgramName,
|
||||
(void *)(intptr_t)&Main);
|
||||
|
||||
if (!prog.canExecute()) {
|
||||
prog = sys::Program::FindProgramByName(name);
|
||||
|
Reference in New Issue
Block a user