[Lldb-commits] [lldb] [lldb][AIX] get host info for AIX (PR #134354)
Hemang Gadhavi via lldb-commits
lldb-commits at lists.llvm.org
Mon Apr 14 06:19:31 PDT 2025
================
@@ -7,21 +7,24 @@
//===----------------------------------------------------------------------===//
#include "lldb/Host/linux/Support.h"
+#include "lldb/Host/posix/Support.h"
#include "llvm/Support/Threading.h"
#include "gtest/gtest.h"
using namespace lldb_private;
TEST(Support, getProcFile_Pid) {
- auto BufferOrError = getProcFile(getpid(), "maps");
+ auto BufferOrError = getProcFile(getpid(), "status");
----------------
HemangGadhavi wrote:
I have changed from `maps` to `status` to test `getProcFile()`
and here its only testing the `getProcFile()` functions.
because `/proc/pid/status` is there in all the Linux, AIX and Android.
https://github.com/llvm/llvm-project/pull/134354
More information about the lldb-commits
mailing list