Skip to content

[lldb][AIX] Need to add per thread variants of getProcFile in AIX #139509

Open
@DhruvSrivastavaX

Description

@DhruvSrivastavaX

With this PR,
We have moved the Support.cpp common variants under posix, which aix and other platforms can directly use:

But we need AIX variant for thread version of getProcFile.
lldb_private::getProcFile(::pid_t pid, ::pid_t tid, const llvm::Twine &file)

It is different from linux, as follows:

  • Linux has /proc/<pid>/task
  • AIX has/proc/<pid>/lwp

We can create our aix/Support.cpp and implement the same there.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions