<?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>54403</bug_id>
          
          <creation_ts>2011-02-14 11:28:13 -0800</creation_ts>
          <short_desc>Should turn off frame pointer omission (FPO) for Release (not Production) builds</short_desc>
          <delta_ts>2011-03-30 16:04:52 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebCore Misc.</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows XP</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar, PlatformOnly</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Adam Roben (:aroben)">aroben</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>sfalken</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>350783</commentid>
    <comment_count>0</comment_count>
    <who name="Adam Roben (:aroben)">aroben</who>
    <bug_when>2011-02-14 11:28:13 -0800</bug_when>
    <thetext>Should turn off frame pointer omission (FPO) for Release (not Release_LTCG) builds. This would make it easier to profile developer Release builds, while not harming customer builds (which use Release_LTCG).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>350785</commentid>
    <comment_count>1</comment_count>
    <who name="Adam Roben (:aroben)">aroben</who>
    <bug_when>2011-02-14 11:28:48 -0800</bug_when>
    <thetext>Some people think FPO isn&apos;t really worth it, even for customer builds: &lt;http://blogs.msdn.com/b/yvesdolc/archive/2009/09/15/consider-not-using-the-frame-pointer-optimization-when-building-your-software.aspx&gt;. Apparently Microsoft isn&apos;t using it for its own software anymore.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>350786</commentid>
    <comment_count>2</comment_count>
    <who name="Adam Roben (:aroben)">aroben</who>
    <bug_when>2011-02-14 11:29:25 -0800</bug_when>
    <thetext>It would be interesting to run some benchmarks with FPO on and off to see if it&apos;s even helping us appreciably.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>356114</commentid>
    <comment_count>3</comment_count>
    <who name="Adam Roben (:aroben)">aroben</who>
    <bug_when>2011-02-23 08:51:19 -0800</bug_when>
    <thetext>(In reply to comment #2)
&gt; It would be interesting to run some benchmarks with FPO on and off to see if it&apos;s even helping us appreciably.

I filed bug 55051 to cover this aspect.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>356115</commentid>
    <comment_count>4</comment_count>
    <who name="Adam Roben (:aroben)">aroben</who>
    <bug_when>2011-02-23 08:51:40 -0800</bug_when>
    <thetext>I don&apos;t think we need to run benchmarks before turning off FPO for the Release configuration.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>356122</commentid>
    <comment_count>5</comment_count>
    <who name="Adam Roben (:aroben)">aroben</who>
    <bug_when>2011-02-23 09:05:35 -0800</bug_when>
    <thetext>&lt;rdar://problem/9042187&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>376757</commentid>
    <comment_count>6</comment_count>
      <attachid>87633</attachid>
    <who name="Steve Falkenburg">sfalken</who>
    <bug_when>2011-03-30 15:58:19 -0700</bug_when>
    <thetext>Created attachment 87633
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>376760</commentid>
    <comment_count>7</comment_count>
      <attachid>87633</attachid>
    <who name="Adam Roben (:aroben)">aroben</who>
    <bug_when>2011-03-30 15:59:02 -0700</bug_when>
    <thetext>Comment on attachment 87633
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=87633&amp;action=review

&gt; WebKitLibraries/win/tools/vsprops/release.vsprops:10
&gt; +		AdditionalOptions=&quot;/Oy-&quot;
&gt; +		OmitFramePointers=&quot;false&quot;

I think you should add a comment in the ChangeLog about why both of these are being set.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>376763</commentid>
    <comment_count>8</comment_count>
    <who name="Adam Roben (:aroben)">aroben</who>
    <bug_when>2011-03-30 16:01:21 -0700</bug_when>
    <thetext>*** Bug 57510 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>376764</commentid>
    <comment_count>9</comment_count>
    <who name="Steve Falkenburg">sfalken</who>
    <bug_when>2011-03-30 16:04:52 -0700</bug_when>
    <thetext>http://trac.webkit.org/changeset/82515</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>87633</attachid>
            <date>2011-03-30 15:58:19 -0700</date>
            <delta_ts>2011-03-30 15:59:02 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-54403-20110330155731.patch</filename>
            <type>text/plain</type>
            <size>1167</size>
            <attacher name="Steve Falkenburg">sfalken</attacher>
            
              <data encoding="base64">SW5kZXg6IFdlYktpdExpYnJhcmllcy9DaGFuZ2VMb2cKPT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQotLS0gV2ViS2l0TGli
cmFyaWVzL0NoYW5nZUxvZwkocmV2aXNpb24gODI1MTMpCisrKyBXZWJLaXRMaWJyYXJpZXMvQ2hh
bmdlTG9nCSh3b3JraW5nIGNvcHkpCkBAIC0xLDMgKzEsMTUgQEAKKzIwMTEtMDMtMzAgIFN0ZXZl
IEZhbGtlbmJ1cmcgIDxzZmFsa2VuQGFwcGxlLmNvbT4KKworICAgICAgICBSZXZpZXdlZCBieSBO
T0JPRFkgKE9PUFMhKS4KKworICAgICAgICBTaG91bGQgdHVybiBvZmYgZn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4KIDwv
VmlzdWFsU3R1ZGlvUHJvcGVydHlTaGVldD4K
</data>
<flag name="review"
          id="80059"
          type_id="1"
          status="+"
          setter="aroben"
    />
          </attachment>
      

    </bug>

</bugzilla>