diff options
author | Alex Langford <alangford@apple.com> | 2023-05-17 17:33:13 -0700 |
---|---|---|
committer | Alex Langford <alangford@apple.com> | 2023-05-17 17:34:36 -0700 |
commit | e0466a7463ecbd6a3bbe3296f5f7c5ece749564f (patch) | |
tree | 2c5d6450b1c3e410f63086e95324a40331ee9611 | |
parent | f56a7383f0a51392b925a976812feb78f55486bf (diff) | |
download | llvm-e0466a7463ecbd6a3bbe3296f5f7c5ece749564f.tar.gz |
[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.
-rw-r--r-- | lldb/include/lldb/API/SBDebugger.h | 2 |
1 files changed, 1 insertions, 1 deletions
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); |