reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/lldb/unittests/Host/linux/HostTest.cpp
   33   ASSERT_FALSE(Host::GetProcessInfo(0, Info));
   35   ASSERT_TRUE(Host::GetProcessInfo(getpid(), Info));
   37   ASSERT_TRUE(Info.ProcessIDIsValid());
   38   EXPECT_EQ(lldb::pid_t(getpid()), Info.GetProcessID());
   40   ASSERT_TRUE(Info.ParentProcessIDIsValid());
   41   EXPECT_EQ(lldb::pid_t(getppid()), Info.GetParentProcessID());
   43   ASSERT_TRUE(Info.EffectiveUserIDIsValid());
   44   EXPECT_EQ(geteuid(), Info.GetEffectiveUserID());
   46   ASSERT_TRUE(Info.EffectiveGroupIDIsValid());
   47   EXPECT_EQ(getegid(), Info.GetEffectiveGroupID());
   49   ASSERT_TRUE(Info.UserIDIsValid());
   50   EXPECT_EQ(geteuid(), Info.GetUserID());
   52   ASSERT_TRUE(Info.GroupIDIsValid());
   53   EXPECT_EQ(getegid(), Info.GetGroupID());
   55   EXPECT_TRUE(Info.GetArchitecture().IsValid());
   57             Info.GetArchitecture());