Implement NativeThreadFreeBSD::GetName(). This is based
on the equivalent code in the legacy FreeBSD plugin, except it is
modernized a bit to use llvm::Optional and std::vector for data storage.
Details
Details
Diff Detail
Diff Detail
Event Timeline
lldb/source/Plugins/Process/FreeBSDRemote/NativeThreadFreeBSD.cpp | ||
---|---|---|
151 | PT_GETLWPLIST returns only LWP IDs. struct ptrace_lwpinfo is used by PT_LWPINFO which returns info about the thread causing the process to stop, not an arbitrary thread. |
It is probably fine, but I would use: