[Lldb-commits] [lldb] [lldb][AIX] get host info for AIX (cont..) (PR #138687)

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Tue May 27 07:42:59 PDT 2025


================
@@ -90,6 +92,30 @@ TEST(Host, LaunchProcessSetsArgv0) {
   ASSERT_THAT(exit_status.get_future().get(), 0);
 }
 
+TEST(Host, FindProcesses) {
+  SubsystemRAII<FileSystem, HostInfo> subsystems;
+
+  if (test_arg != 0)
+    exit(0);
----------------
labath wrote:

```suggestion
  if (test_arg != 0) {
    // Give the parent time to retrieve information about us. It will kill us when it is done.
    std::this_thread::sleep_for(std::chrono::seconds(10));
    exit(0);
  }
```

https://github.com/llvm/llvm-project/pull/138687


More information about the lldb-commits mailing list