[Webkit-unassigned] [Bug 105855] New: Web Inspector: Native Memory Instrumentation plugin: do not generate 'not instrumented' warning for instrumented mutable members.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Dec 29 03:22:12 PST 2012


https://bugs.webkit.org/show_bug.cgi?id=105855

           Summary: Web Inspector: Native Memory Instrumentation plugin:
                    do not generate 'not instrumented' warning for
                    instrumented mutable members.
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Inspector
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: loislo at chromium.org
                CC: keishi at webkit.org, pmuellr at yahoo.com,
                    pfeldman at chromium.org, yurys at chromium.org,
                    apavlov at chromium.org, loislo at chromium.org,
                    vsevik at chromium.org,
                    web-inspector-bugs at googlegroups.com


Plugin scans all methods in the translation unit,
visits methods with reportMemoryUsage name and 
collects all the reported class members into instrumentedMembers vector.

Actually it visits all call expressions inside reportMemoryUsage method
and only if the method name of call expression matches with predefined set of
instrumentation methods, addMember, addRawPointer etc. then it scans all
the arguments of the call expression. It expects that argument has type MemberExpr but for
the mutable members the type of the expression is ImplicitCastExpr because it
needs to be converted into const T& where T is a template argument of addMember method.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list