https://github.com/royitaqi commented:
Hi @JDevlieghere, > In TestAppleSimulatorOSType there's a snippet that launched a binary with > simctl. Could we use that to launch the binary without it being traced? Done. Kindly take a look when you have the time. TL;DR changes: 1. Found the snippet you were referring to in `TestAppleSimulatorOSType`. 2. Refactored two functions into `lldbutil`. 3. Used those two functions in `TestSimulatorPlatform` to launch `a.out` separately and find it (by both pid and name). 4. In order to do 3, I had to change `hello.c` into `hello.cpp` so that it prints the pid and also wait for 10s so that the `platform process list` can find it. I have a **question** regarding 4, about how to make sure that the `hello.cpp` builds in Windows. See inline comment. https://github.com/llvm/llvm-project/pull/139174 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits