forked from OSchip/llvm-project
abf546dd4f
On an iOS device, if debugserver is left to figure out how to launch the binary provided, it looks at the filename to see if it contains ".app" and asks FrontBoard to launch it. However, if this is actually a command line app with the characters ".app" in the name, it would end up trying to launch that via the FrontBoard calls even though it needed to be launched via posix_spawn. For instance, a command line program called com.application.tester. Jim suggested this patch where we only send binaries that end in ".app" to FrontBoard. Often debugsever is invoked with a --launch command line argument to specify the launch method, and none of this code is hit in that instance. <rdar://problem/65297100> |
||
---|---|---|
.. | ||
debugserver.xcodeproj | ||
resources | ||
scripts | ||
source | ||
CMakeLists.txt | ||
debugnub-exports |