[Lldb-commits] [lldb] [lldb][AIX] Adding AIX version of ptrace64 (PR #120390)
David Spickett via lldb-commits
lldb-commits at lists.llvm.org
Wed Dec 18 04:55:13 PST 2024
DavidSpickett wrote:
> Yes, to handle the 64-bit debuggees in AIX, we would need the ptrace64 call. It will apply to all the ptrace calls in general.
It is used in the NativeProcess/Thread plugins, but since those are new plugins only for AIX they dont need an #if AIX.
Thanks. Yes I see that the majority of existing calls are in, for example, lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp. And a lot are going via a Ptracewrapper that is also per platform.
This PosixFork is one of the few doing a direct call in generic code.
I am wondering if it should be `#if there is ptrace64` but I don't think so because this seems to be AIX specific. Even if it existed elsewhere I'd rather not silently use it without knowing how it behaves.
https://github.com/llvm/llvm-project/pull/120390
More information about the lldb-commits
mailing list