<?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>234478</bug_id>
          
          <creation_ts>2021-12-18 11:26:55 -0800</creation_ts>
          <short_desc>[libpas] Do not compile libpas for 64-bit watchOS to save ~6 MB per architecture</short_desc>
          <delta_ts>2021-12-18 16:22:40 -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>bmalloc</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>234416</dependson>
          <blocked>234481</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="David Kilzer (:ddkilzer)">ddkilzer</reporter>
          <assigned_to name="David Kilzer (:ddkilzer)">ddkilzer</assigned_to>
          <cc>ggaren</cc>
    
    <cc>nham</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>ysuzuki</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1825358</commentid>
    <comment_count>0</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2021-12-18 11:26:55 -0800</bug_when>
    <thetext>Do not compile libpas for watchOS arm64e to save 6.15 MB.

&lt;rdar://85620647&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1825359</commentid>
    <comment_count>1</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2021-12-18 11:28:44 -0800</bug_when>
    <thetext>Also going to disable it for tvOS to save space as it&apos;s not currently used there to my knowledge.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1825379</commentid>
    <comment_count>2</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2021-12-18 14:48:43 -0800</bug_when>
    <thetext>Commit r287175 enabled libpas on all iOS family 64-bit architectures:

    [libpas] Enable libpas on ARM64 Darwin platforms (ARM64E is already enabled)
    https://bugs.webkit.org/show_bug.cgi?id=234416
    https://commits.webkit.org/r287175

But the core of bmalloc itself is still compiled into the build, which means 64-bit watchOS architectures now consume an additional ~6 MB for libpas.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1825380</commentid>
    <comment_count>3</comment_count>
      <attachid>447532</attachid>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2021-12-18 14:49:36 -0800</bug_when>
    <thetext>Created attachment 447532
Patch v1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1825381</commentid>
    <comment_count>4</comment_count>
      <attachid>447532</attachid>
    <who name="Yusuke Suzuki">ysuzuki</who>
    <bug_when>2021-12-18 14:55:53 -0800</bug_when>
    <thetext>Comment on attachment 447532
Patch v1

r=me</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1825388</commentid>
    <comment_count>5</comment_count>
    <who name="Yusuke Suzuki">ysuzuki</who>
    <bug_when>2021-12-18 15:32:05 -0800</bug_when>
    <thetext>Does watchOS include ARM64E slice? I thought it is only having ARM64_32 and ARMv7k.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1825389</commentid>
    <comment_count>6</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2021-12-18 15:44:18 -0800</bug_when>
    <thetext>(In reply to Yusuke Suzuki from comment #5)
&gt; Does watchOS include ARM64E slice? I thought it is only having ARM64_32 and
&gt; ARMv7k.

Yes, watchOS has three slices, including arm64e.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1825390</commentid>
    <comment_count>7</comment_count>
      <attachid>447532</attachid>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2021-12-18 15:44:48 -0800</bug_when>
    <thetext>Comment on attachment 447532
Patch v1

Adding cq+ since all Apple platforms have built.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1825394</commentid>
    <comment_count>8</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2021-12-18 16:22:38 -0800</bug_when>
    <thetext>Committed r287233 (245393@main): &lt;https://commits.webkit.org/245393@main&gt;

All reviewed patches have been landed. Closing bug and clearing flags on attachment 447532.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>447532</attachid>
            <date>2021-12-18 14:49:36 -0800</date>
            <delta_ts>2021-12-18 16:22:39 -0800</delta_ts>
            <desc>Patch v1</desc>
            <filename>bug-234478-20211218144935.patch</filename>
            <type>text/plain</type>
            <size>1468</size>
            <attacher name="David Kilzer (:ddkilzer)">ddkilzer</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMjg3MjI3CmRpZmYgLS1naXQgYS9Tb3VyY2UvYm1hbGxvYy9D
aGFuZ2VMb2cgYi9Tb3VyY2UvYm1hbGxvYy9DaGFuZ2VMb2cKaW5kZXggNTc0ZmZkN2Y2MWFjYjdk
MWYwNzEyMTVhODQ2M2JkZGM3ZjY1OGQ5Mi4uNGM1MWU2YzQ4ZTA3N2NhZWNiODNlYjc2MTdiODE2
Zjc4N2FiZDZiMCAxMDA2NDQKLS0tIGEvU291cmNlL2JtYWxsb2MvQ2hhbmdlTG9nCisrKyBiL1Nv
dXJjZS9ibWFsbG9jL0NoYW5nZUxvZwpAQCAtMSwzICsxLDE1IEBACisyMDIxLTEyLTE4ICBEYXZp
ZCBLaWx6ZXIgIDxkZGtpbHplckBhcHBsZS5jb20+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