mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
Pass the resolved lli-child-target executable name to execv, rather than
searching $PATH for it then blindly executing it from $PWD anyway. llvm-svn: 191856
This commit is contained in:
parent
c43958bf36
commit
6c053da49c
@ -536,7 +536,7 @@ int main(int argc, char **argv, char * const *envp) {
|
|||||||
errs() << "Unable to find child target: '\''" << MCJITRemoteProcess << "\'\n";
|
errs() << "Unable to find child target: '\''" << MCJITRemoteProcess << "\'\n";
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
Target.reset(RemoteTarget::createExternalRemoteTarget(MCJITRemoteProcess));
|
Target.reset(RemoteTarget::createExternalRemoteTarget(ChildEXE));
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
// No child process name provided, use simulated remote execution.
|
// No child process name provided, use simulated remote execution.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user