[Lldb-commits] [lldb] [lldb] Adds additional fields to ProcessInfo (PR #91544)

Fred Grim via lldb-commits lldb-commits at lists.llvm.org
Thu May 9 08:56:56 PDT 2024


================
@@ -12,6 +12,9 @@
 #include "lldb/Utility/ProcessInfo.h"
 #include "gtest/gtest.h"
 
+#include <cerrno>
+#include <sys/resource.h>
----------------
feg208 wrote:

yeah. The cmake file enforces a linux-only build as well. However as @jimingham pointed out someone could plausibly move this into a non-linux build. Maybe I should place guards here and below? The functionality is in POSIX I think and my understanding is that windows would conform to POSIX to some degree. But to be honest I know very little about what happens on the windows side of the fence.

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


More information about the lldb-commits mailing list