Skip to content

Commit e7baff0

Browse files
committed
[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. (cherry picked from commit e0466a7)
1 parent fcf7b1f commit e7baff0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lldb/include/lldb/API/SBDebugger.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ class LLDB_API SBDebugger {
218218

219219
uint32_t GetIndexOfTarget(lldb::SBTarget target);
220220

221-
lldb::SBTarget FindTargetWithProcessID(pid_t pid);
221+
lldb::SBTarget FindTargetWithProcessID(lldb::pid_t pid);
222222

223223
lldb::SBTarget FindTargetWithFileAndArch(const char *filename,
224224
const char *arch);

0 commit comments

Comments
 (0)