[lldb][NFCI] Qualify param type in SBDebugger::FindTargetWithProcessID
authorAlex Langford <alangford@apple.com>
Thu, 18 May 2023 00:33:13 +0000 (17:33 -0700)
committerAlex Langford <alangford@apple.com>
Thu, 18 May 2023 00:34:36 +0000 (17:34 -0700)
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

index d2d59bb..0eea6e0 100644 (file)
@@ -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);