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

    <tr>
        <th>Summary</th>
        <td>
            Backport b0997097355b3578c8061373899770928096f36b to 17.x and 18
        </td>
    </tr>

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

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

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

<pre>
    This provides currently the best solution for having `-fstack-protector-strong` as default compile option for CPU code, while the GPU code can generate without issue, way better than appending `-fno-stack-protector` when targeting hip in https://github.com/gentoo/gentoo/pull/29291
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJx8kcuS2ywQhZ8GbbrsQqAbCy3-mb-cbRbJA3BpCTIYVNCy47dPyZlMUllkxbW7v3OOrjWsCXFm_Qvr_2_0Tj6XOQaiiPdd9HxqTHaP-YsPFbaSb8FhBbuXgoniA8gjGKwENcedQk6w5AJe30JagQ38tFTS9u20lUxoKZdTpZLTygYOuoLDRe-RwObrFiJC3j56vH7-CjY7ZOIV7v54PGZ9er8FqxOsmLBoQrgH8nknCLXuPwv0AwwSYQHyOoHeNkzugynl019YB8_dYwLSZUU6fvqwQUjgibbK5H9MXJi4rIH8bs42X48DJsr5z822x8jERSih2sbN0impdINzO3IhWtUL2fi5a7noJ25VLweNcjByGVphJ6P1oiermjALLmQrWt52XS_k2S62c846wVVr0A2s43jVIZ5jvF3PuazNU_k8dkqNTdQGY31GKkTC-y9bxJFwmY-ak9nXyjoeQ6X6uwsFiji_aPu25UJguFIjV6PseyP7cbITH1o5ykmpceRKTFwNixwMUIZ2PH8HnRy0U7OXOP_DtmPc-3IE8A0tMXF5QlYmLk8RPwIAAP__QWjZLg">