From e0466a7463ecbd6a3bbe3296f5f7c5ece749564f Mon Sep 17 00:00:00 2001 From: Alex Langford Date: Wed, 17 May 2023 17:33:13 -0700 Subject: [lldb][NFCI] Qualify param type in SBDebugger::FindTargetWithProcessID We should specify that this is the pid_t as defined in the lldb namespace, not some other pid_t. This doesn't really affect builds but it makes writing tooling against the SBAPI easier. I have verified that this does not change the emitted mangled name and does not break ABI. --- lldb/include/lldb/API/SBDebugger.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lldb/include/lldb/API/SBDebugger.h b/lldb/include/lldb/API/SBDebugger.h index d2d59bbd3e93..0eea6e0cce1c 100644 --- a/lldb/include/lldb/API/SBDebugger.h +++ b/lldb/include/lldb/API/SBDebugger.h @@ -245,7 +245,7 @@ public: uint32_t GetIndexOfTarget(lldb::SBTarget target); - lldb::SBTarget FindTargetWithProcessID(pid_t pid); + lldb::SBTarget FindTargetWithProcessID(lldb::pid_t pid); lldb::SBTarget FindTargetWithFileAndArch(const char *filename, const char *arch); -- cgit v1.2.1