[Webkit-unassigned] [Bug 133293] New: LowLevelInterpreter.cpp inline asm bug (incorrect .cfi_startproc usage causes compiler abort or incorrectly compiled code)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon May 26 17:05:53 PDT 2014


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

           Summary: LowLevelInterpreter.cpp inline asm bug (incorrect
                    .cfi_startproc usage causes compiler abort or
                    incorrectly compiled code)
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: jeremyhu at apple.com


LowLevelInterpreter.cpp is failing to be compiled with recent clang.  It was previously being compiled incorrectly.

The issue is that code like this is being omitted (in LLIntAssembly.h):

        .section        __TEXT,__text,regular,pure_instructions                  
                                        ## Start of file scope inline assembly 
.cfi_startproc                                                                   
.text                                                                            
.globl _callToJavaScript                                                         
.private_extern _callToJavaScript                                                
_callToJavaScript:  

Note that .cfi_startproc precedes the definition of the symbol. That's not correct. It should be after the "_callToJavaScript:" line since that's the symbol it's associated with.

The compiler would previously associate that directive with the previously seen symbol, which is also not what this code wants.


If you have access, you can see <rdar://problem/16942469> for more information, but it was determined that this issue is not something that Apple is responsible for.

-- 
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