[Webkit-unassigned] [Bug 193714] New: [JSC] Duplicate global variables: JSC::opcodeLengths

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jan 23 03:49:03 PST 2019


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

            Bug ID: 193714
           Summary: [JSC] Duplicate global variables: JSC::opcodeLengths
           Product: WebKit
           Version: WebKit Local Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Keywords: InRadar
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ddkilzer at webkit.org

Because JSC::opcodeLengths is defined in the Source/JavaScriptCore/bytecode/Opcode.h header, there are 11 copies of it created on Release-iphoneos builds:

$ nm -a $BUILD_ROOT/Release-iphoneos/JavaScriptCore.framework/JavaScriptCore | grep opcodeLengths
0000000000bfdb54 - 04 0000 STSYM __ZN3JSCL13opcodeLengthsE
0000000000bfdb54 s __ZN3JSCL13opcodeLengthsE
0000000000bfde2c s __ZN3JSCL13opcodeLengthsE
0000000000bfde2c - 04 0000 STSYM __ZN3JSCL13opcodeLengthsE
0000000000bfe130 - 04 0000 STSYM __ZN3JSCL13opcodeLengthsE
0000000000bfe130 s __ZN3JSCL13opcodeLengthsE
0000000000bfe5e8 - 04 0000 STSYM __ZN3JSCL13opcodeLengthsE
0000000000bfe5e8 s __ZN3JSCL13opcodeLengthsE
0000000000bfe930 - 04 0000 STSYM __ZN3JSCL13opcodeLengthsE
0000000000bfe930 s __ZN3JSCL13opcodeLengthsE
0000000000bff1f0 - 04 0000 STSYM __ZN3JSCL13opcodeLengthsE
0000000000bff1f0 s __ZN3JSCL13opcodeLengthsE
0000000000c08684 - 04 0000 STSYM __ZN3JSCL13opcodeLengthsE
0000000000c08684 s __ZN3JSCL13opcodeLengthsE
0000000000c08970 - 04 0000 STSYM __ZN3JSCL13opcodeLengthsE
0000000000c08970 s __ZN3JSCL13opcodeLengthsE
0000000000c08c98 - 04 0000 STSYM __ZN3JSCL13opcodeLengthsE
0000000000c08c98 s __ZN3JSCL13opcodeLengthsE
0000000000c09100 - 04 0000 STSYM __ZN3JSCL13opcodeLengthsE
0000000000c09100 s __ZN3JSCL13opcodeLengthsE
0000000000c09880 s __ZN3JSCL13opcodeLengthsE
0000000000c09880 - 04 0000 STSYM __ZN3JSCL13opcodeLengthsE

After moving JSC::opcodeLengths to Source/JavaScriptCore/bytecode/Opcode.cpp, we have only one copy:

$ nm -a $BUILD_ROOT/Release-iphoneos/JavaScriptCore.framework/JavaScriptCore | grep opcodeLengths
0000000000000000 - 00 0000  GSYM __ZN3JSC13opcodeLengthsE
0000000000bfd878 s __ZN3JSC13opcodeLengthsE

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190123/9c0220f2/attachment.html>


More information about the webkit-unassigned mailing list