================
@@ -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
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits