Dumper: Fix QObject detection when using procedure linkage tables

Change-Id: I3ac9889b822cb30d2ccdb6a7e2452e753cc3f2df
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Christian Stenger
2016-12-02 13:07:58 +01:00
committed by hjk
parent dc2724a3f7
commit 983936f975
2 changed files with 9 additions and 2 deletions
+2 -1
View File
@@ -254,6 +254,7 @@ class DumperBase:
self.typesToReport = {}
self.qtNamespaceToReport = None
self.qtCustomEventFunc = 0
self.qtCustomEventPltFunc = 0
self.qtPropertyFunc = 0
self.passExceptions = False
self.isTesting = False
@@ -1472,7 +1473,7 @@ class DumperBase:
self.bump('nostruct-3')
return False
return self.qtCustomEventFunc == customEventFunc
return customEventFunc in (self.qtCustomEventFunc, self.qtCustomEventPltFunc)
def extractQObjectProperty(objectPtr):
vtablePtr = self.extractPointer(objectPtr)