summaryrefslogtreecommitdiffstats
path: root/lldb/examples/summaries/cocoa/NSNotification.py
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/examples/summaries/cocoa/NSNotification.py')
-rw-r--r--lldb/examples/summaries/cocoa/NSNotification.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/lldb/examples/summaries/cocoa/NSNotification.py b/lldb/examples/summaries/cocoa/NSNotification.py
index 6170110354c..0f8cccd322c 100644
--- a/lldb/examples/summaries/cocoa/NSNotification.py
+++ b/lldb/examples/summaries/cocoa/NSNotification.py
@@ -12,7 +12,7 @@ statistics.add_metric('code_notrun')
class NSConcreteNotification_SummaryProvider:
def adjust_for_architecture(self):
- self.lp64 = (self.valobj.GetTarget().GetProcess().GetAddressByteSize() == 8)
+ self.is_64_bit = (self.valobj.GetTarget().GetProcess().GetAddressByteSize() == 8)
self.is_little = (self.valobj.GetTarget().GetProcess().GetByteOrder() == lldb.eByteOrderLittle)
self.pointer_size = self.valobj.GetTarget().GetProcess().GetAddressByteSize()
@@ -27,7 +27,7 @@ class NSConcreteNotification_SummaryProvider:
# skip the ISA and go to the name pointer
def offset(self):
- if self.lp64:
+ if self.is_64_bit:
return 8
else:
return 4
@@ -41,7 +41,7 @@ class NSConcreteNotification_SummaryProvider:
class NSNotificationUnknown_SummaryProvider:
def adjust_for_architecture(self):
- self.lp64 = (self.valobj.GetTarget().GetProcess().GetAddressByteSize() == 8)
+ self.is_64_bit = (self.valobj.GetTarget().GetProcess().GetAddressByteSize() == 8)
self.is_little = (self.valobj.GetTarget().GetProcess().GetByteOrder() == lldb.eByteOrderLittle)
self.pointer_size = self.valobj.GetTarget().GetProcess().GetAddressByteSize()
OpenPOWER on IntegriCloud