<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/62632>62632</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            turn off string tail merging by default in lld-link? 
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            lld:COFF
      </td>
    </tr>

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

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

<pre>
    Recently I found that string tail merging causes an ASan false positive crashes on Windows (https://github.com/llvm/llvm-project/issues/62078). This crash came up in gtest code, and I assume it would not be too difficult to run into. 

Chromium also disables string tail merging because it increases compressed binary size (crbug.com/838449). 

Currently string tail merging is on by default when ICF is on. Given these issues, does it make sense to disable string tail merging by default? 
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJykkkFvnDwQhn-NuYyCwAYWDhz224hPOVVqK_Vs7DG4MfbKYyfa_voKNmlVKVIPvYAQst95nnklkV084sja_1j7WMic1hBHud2e1yz9UsxB38bPqNAnd4MnMCF7DWmVCShF6xdI0jrYMC77h5KZkEB6OH-RHox0hHANZJN9QVBR0ooEwcM363V4JWC8X1O6EhNnxifGp8WmNc-lChvjk3Mv76-HawzfUSXGJ0uUkRifOl6desaHEr6ulu7Xg5IbQr6C9bAkpAQqaGT8AtJreAJJlDcEm-A1ZKfBhwQzQgoBtDXGquwSpAAxe7A-hRJY9ciq8_15WWPYbN5AOtoPkJwd0ocqZjxk7EnWq4hyF6PCdo1IhBpm62W8AdkfuFtQcc7LG3Yv-qYZDrA_wnOM9z18lGcPr_MNNBq5Q7yu6OHpMt3_lPC_fUEPacV9qDeFF9ABaZ9xk88IhJ52F-9kH4P9imBigkKPQg9ikAWOddeL7iREfSrW0aDUvB5Mb5qhO7VzU7VcDLUxRrSDmYfCjrziomqrgYuqbk9lq-pKtg02s-nrQWnWVLhJ68p9_2WIS3GMPXa8E7xwckZHR3E5d04zcb58mibG-V7kOB6lmfNCrKmcpUS_r0k2ORxTjh6CMX-B3IvknH5w1j8fwDm68V862wn-MwAA__-o1CmV">