[Lldb-commits] [lldb] e0466a7 - [lldb][NFCI] Qualify param type in SBDebugger::FindTargetWithProcessID
Alex Langford via lldb-commits
lldb-commits at lists.llvm.org
Wed May 17 17:36:41 PDT 2023
Author: Alex Langford
Date: 2023-05-17T17:34:36-07:00
New Revision: e0466a7463ecbd6a3bbe3296f5f7c5ece749564f
URL: https://github.com/llvm/llvm-project/commit/e0466a7463ecbd6a3bbe3296f5f7c5ece749564f
DIFF: https://github.com/llvm/llvm-project/commit/e0466a7463ecbd6a3bbe3296f5f7c5ece749564f.diff
LOG: [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.
Added:
Modified:
lldb/include/lldb/API/SBDebugger.h
Removed:
################################################################################
diff --git a/lldb/include/lldb/API/SBDebugger.h b/lldb/include/lldb/API/SBDebugger.h
index d2d59bbd3e932..0eea6e0cce1c4 100644
--- a/lldb/include/lldb/API/SBDebugger.h
+++ b/lldb/include/lldb/API/SBDebugger.h
@@ -245,7 +245,7 @@ class LLDB_API SBDebugger {
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);
More information about the lldb-commits
mailing list