Commit c5ac8fc2 authored by hjk's avatar hjk
Browse files

Debugger: Use simpler construction of basic types in LLDB dumper

Cheaper, more robust.

Change-Id: I989853dc288864f4088f09f60c8c5b717e4faef0
Reviewed-by: default avatarChristian Stenger <>
parent 5dc0ac73
......@@ -479,33 +479,23 @@ class Dumper(DumperBase):
def intSize(self):
return 4
def ptrSize(self):
def intType(self):
if self.intType_ is None:
self.intType_ ='int')
return self.intType_
def int64Type(self):
if self.int64Type_ is None:
self.int64Type_ ='long long int')
return self.int64Type_
def charType(self):
if self.charType_ is None:
self.charType_ ='char')
return self.charType_
def charPtrType(self):
if self.charPtrType_ is None:
self.charPtrType_ = self.charType().GetPointerType()
return self.charPtrType_
def voidPtrType(self):
if self.voidPtrType_ is None:
self.voidPtrType_ ='void').GetPointerType()
return self.voidPtrType_
def ptrSize(self):
return self.charPtrType().GetByteSize()
def sizetType(self):
if self.sizetType_ is None:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment