summaryrefslogtreecommitdiffstats
path: root/lldb
diff options
context:
space:
mode:
Diffstat (limited to 'lldb')
-rw-r--r--lldb/examples/summaries/cocoa/objc_runtime.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/examples/summaries/cocoa/objc_runtime.py b/lldb/examples/summaries/cocoa/objc_runtime.py
index c48eceaf08d..4f852ed6a3b 100644
--- a/lldb/examples/summaries/cocoa/objc_runtime.py
+++ b/lldb/examples/summaries/cocoa/objc_runtime.py
@@ -594,7 +594,7 @@ class SystemParameters:
global isa_caches
process = valobj.GetTarget().GetProcess()
- self.pid = process.GetProcessID()
+ self.pid = process.GetUniqueID() # using the unique ID for added guarantees (<rdar://problem/13009943>)
if runtime_version.look_for_key(self.pid):
self.runtime_version = runtime_version.get_value(self.pid)
OpenPOWER on IntegriCloud