[Webkit-unassigned] [Bug 22314] New: Adopt check-for-global-initializers on Windows

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Nov 17 09:13:35 PST 2008


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

           Summary: Adopt check-for-global-initializers on Windows
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: aroben at apple.com
                CC: darin at apple.com


It would be good to adopt the check-for-global-initializers script on Windows.
I've done a little investigation into what would have to change in the script
to make it work on Windows. Here's what I've come up with (based on
<http://trac.webkit.org/browser/trunk/WebKitTools/Scripts/check-for-global-initializers?rev=38440>):

1. Use of Xcode-specific environment variables

We can either set similar variables on Windows or pass the relevant values as
parameters.

2. Use of a "link file list"

We can get the list of object files linked into the executable by using
"dumpbin.exe /archivemembers".

3. Searching for "__GLOBAL__I" to indicate a global initializer

On Windows, global initializers are indicated by "symbol$initializer$", where
"symbol" is the symbol being initialized.

4. List of files to skip uses .o extension

On Windows, these files have a .obj extension. We could just use the part of
the filename before the extension instead.


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



More information about the webkit-unassigned mailing list