<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>133293</bug_id>
          
          <creation_ts>2014-05-26 17:06:16 -0700</creation_ts>
          <short_desc>LowLevelInterpreter.cpp inline asm bug (incorrect .cfi_startproc usage causes compiler abort or incorrectly compiled code)</short_desc>
          <delta_ts>2016-01-03 22:56:42 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>JavaScriptCore</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jeremy Huddleston Sequoia">jeremyhu</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>philip.chimento</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1011847</commentid>
    <comment_count>0</comment_count>
    <who name="Jeremy Huddleston Sequoia">jeremyhu</who>
    <bug_when>2014-05-26 17:06:16 -0700</bug_when>
    <thetext>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&apos;s not correct. It should be after the &quot;_callToJavaScript:&quot; line since that&apos;s the symbol it&apos;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 &lt;rdar://problem/16942469&gt; for more information, but it was determined that this issue is not something that Apple is responsible for.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1059300</commentid>
    <comment_count>1</comment_count>
    <who name="Philip Chimento">philip.chimento</who>
    <bug_when>2015-01-06 19:57:40 -0800</bug_when>
    <thetext>This occurs for me on WebKitGTK 2.4.x, but not on 2.6.x. (Quartz / Darwin / OSX 10.10)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1091295</commentid>
    <comment_count>2</comment_count>
    <who name="Philip Chimento">philip.chimento</who>
    <bug_when>2015-05-03 17:05:04 -0700</bug_when>
    <thetext>I think actually Apple was responsible for it; in any case, it was fixed in the clang shipped with XCode 6.3. I think this bug can be closed.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>