mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-29 13:32:33 +00:00
Pass the resolved lli-child-target executable name to execv, rather than
searching $PATH for it then blindly executing it from $PWD anyway. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191856 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
55cfb52aa3
commit
d34a4d60f0
@ -536,7 +536,7 @@ int main(int argc, char **argv, char * const *envp) {
|
||||
errs() << "Unable to find child target: '\''" << MCJITRemoteProcess << "\'\n";
|
||||
return -1;
|
||||
}
|
||||
Target.reset(RemoteTarget::createExternalRemoteTarget(MCJITRemoteProcess));
|
||||
Target.reset(RemoteTarget::createExternalRemoteTarget(ChildEXE));
|
||||
}
|
||||
} else {
|
||||
// No child process name provided, use simulated remote execution.
|
||||
|
Loading…
x
Reference in New Issue
Block a user