<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=http://email.email.llvm.org/c/eJylVMFuozAQ_Rq4jILAkAQOHNKkkapuVqum7bUyMCHeGoxsk7b79Tt2E3U3ag9tkYWxx5558-YNlWpeysXOooZVkcziPGBLsHuEYBavsDe44cNyNFZ1t2hstMIdH6XdiP4GDeoDNlvxB52JzoOl2V1cL65-GLehetgqybUwAVtvfy1ulhCwvFJ2DykD3jcwyyaVsAErgnQRxKsgXtC94_BLgC3vhaUoeqm6TvWTO1qCO54uIHJ-T_aJGbiuJx4NW38O_ddiHYpvRDtLVIpHJOaJqg-YCKYXcHP3E_wTTFfwlZhsfVCS3lIeOpqMro-LyaDVb6xdLlLV3J2pVTcISblqvysqd-FEwEPtGaItV3Xzn6lxwB46Pjw4W1QPA-WUFq7GsOZCjhpf4Vw-DxQSG2cgYWywU_rFISZB0EYSpCu_z4eoRfuvOXeScWMJvLYj4SUXeVIwOBg_v0vhuRhHgwY4NK-swcBbBEP-Qe1enZB7o-Bqe7uh0nDrOuMDlV7fRzuhnf4J8ymvDX--cqRwedlbLZBqe3G64JISxJMjN-_UwSV1fX9M63TsLEyj0BDlcws9YgNWQavVk-9XLl3ZrHAlocT6o5wQam7QNaJ5MRY74_j0tjcunvOZ4_tJUFtm8HjheTBR2JRpU6QFD_lo90qXWmm7D0cty721g9cpW9No6eJYRSSIN2GdSUoYM6KLNU2nLA33ZTrP67yusiqhCGnFcZql1bSax3UyT3jVhJJXKE1Jog8Y6_EJvAv6JuWH30cgShYzGnGSsDSLs2iXFqSCAvNZgnXcZEEWY0dajZyfSOk21KV3WY2tIaMUpPo3IzdGtFQUD5gQWmEllp_qUPC_zXf-maHHXnrgfwEcbs8Q>53523</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            DenseMapCustomTest.DefaultMinReservedSizeTest FAILs on Solaris/SPARC
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            new issue
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          rorth
      </td>
    </tr>
</table>

<pre>
    After D91608, the `DenseMapCustomTest.DefaultMinReservedSizeTest` test `FAILs` on Solaris/SPARC (both 32 and 64-bit):
```
  SanitizerCommon-Unit :: ./Sanitizer-sparc-Test/DenseMapCustomTest.DefaultMinReservedSizeTest
  SanitizerCommon-Unit :: ./Sanitizer-sparcv9-Test/DenseMapCustomTest.DefaultMinReservedSizeTest
```
like this:
```
[ RUN      ] DenseMapCustomTest.DefaultMinReservedSizeTest
/vol/llvm/src/llvm-project/local/compiler-rt/lib/sanitizer_common/tests/sanitizer_dense_map_test.cpp:399: Failure
Expected: (MemorySize) != (Map.getMemorySize()), actual: 8192 vs 8192
```
Solaris/SPARC uses a default page size of 8192, so ISTM that the
```
  KV.first = ExpectedMaxInitialEntries;
  Map.insert(move(KV));
```
doesn't need to grow the allocation, unlike the case on systems (like Solaris/x86) with 4 kB pages.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJylVMFuozAQ_Rq4jIKIISkcOKRJI1XdrFbNttfK4CHx1mBkm7Tdr9-xm6i7UXtoF1kYe-yZN2_eUGvxUi1ahwZW5XSeFhFbgtsjRPN0hb3FDR-Wo3W6-4nWJSts-ajcRva3aNEcUGzlb_QmOg-OZn9xvbj-Zv2G7mGrFTfSRmy9_bG4XULEilq7PWQMeC9gnk9q6SJWRtkiSldRuqB7xxGWAFveS0dRzFJ3ne4nd7QEfzxbQOL9nuwTO3DTTAIatv4c-q_FOpT_Ee0sUSUfkZgnqj5gIppdwu3ddwhPNFvBV2Ky9UEreit16GiypjkuJoPRv7DxuSjdcH-m0d0gFeVqwq6s_YUTAQ9NYIi2fNXtPybhgT10fHjwtqQZBsopK32NYc2lGg2-wrl6HigkCm8gYWyw0-bFIyZB0MY0ylZhnw_JDt3f5sJLxo8l8MaNhJdcFNOSwcGG-V0Kz8U4WrTAQbyyBgPfIVjyD7p9dULurYbr7c8NlYY73xkfqPTmPmml8fonzKe8Nvz52pPC1VXvjESq7eXpgk9KEk-e3KLTB5_Uzf0xrdOxszBCoyXKLxz0iAKchp3RT6FfufJlc9KXhBLrj3JCaLhF34j2xTrsrOcz2N64eC7mnu8nSW2Zw-Nl4MEmsagyUWYlj510CqtPyQ3CP-CdH0A8GlXtnRuCztmaxo4Cj3VCgnoT5pkkpbUjeh-zbMayeF9lBctEVrS1yPK8zMtZmtbzNs1ZKi7ENGex4jUqW1HTRIz1-ATBBX1T58SyYimjkU6nLMvTPGmzklIpsZhPsUlFHuUpdqTUxONItNnFpgqQ6nFnyagkaf7NyK2VOypJCEf--ej22lRGG7ePQ-AqAP8D4p-4sg">