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

    <tr>
        <th>Summary</th>
        <td>
            [19.x] [compiler-rt] Backport "Build SanitizerCommon if ctx_profile enabled" to 19.x
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            cmake,
            release:backport
      </td>
    </tr>

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

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

<pre>
    A trivial CMake fix:

```
commit e3389365b5d62bc9781dc9a23b14d72e333018d7
Author:     Nikita Popov <npopov@redhat.com>
AuthorDate: 2024-08-22 09:48:05 +0200
Commit: GitHub <noreply@github.com>
CommitDate: 2024-08-22 09:48:05 +0200

 Build SanitizerCommon if ctx_profile enabled (#105495)
    
    ctx_profile has a dependency on SanitizerCommon, so make sure it is
    built even if we otherwise disable sanitizers.
```

Also hit downstream: https://bugs.gentoo.org/946871
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJyUk0-P8yYQxj8NvowS4cH4z8EHJ2naS6tK_QAVhklMFxsLcHbTT1_hpn23e-prIWHZzG-eeWZQMdr7QtQzeWLyUqgtTT70892H5VmM3jz7AVKwD6scnH9WbwQ3-8HEwPi-av5afNB-nm0CEqLtRC1HaWocdde0pdGdQjGWlWmQhBC8bE3D-DDsyZgYID-_2DebFPzqV_8AJs7Lmt9YxQOZSaWj9jMTP_wbdlGJcihyrA68PSAC75gYqpaJgUtgeOLIs7DzLiyf_dGmn7Zxh_tAq3uyit9tmrbxG_3v0_-fzvgAp806A7-pxSb7J4WM8AvYG-j08fsa_M06AlrU6MgAw5ahKLmsOsmwy_EA8No-B0wqggJDKy2GFv0Ev3zNwfAM0cOc-xK3QGAT2PhijZt1CehBu5R3Ap8mCu82EhgbsxiI_-Di8Us3s88uephsAuPfl5gCqTlbMqW0xjwBeGV4Hbd7PN5pSd4ffbgzvHZV3TZlYXphOtGpgvqyEZJjLbErpn4shVGNVKXpWiMbLaUwWtxqretRibEpbJ9NLxEr3lRt1R1LjQpv3a2qja55qVnFaVbWHZ17zDlpYWPcqC-x5KIqnBrJxX2gEXW2hiEyPDPEQI5UzI0dlX5bfUj5l7wUoc-sQy6GVdzZmOI3erLJ7Rek7I4fTF6AyZP282odhUNI-cvphQOG-D3DwBAhecjgYguu_6-3n0YTr1nOazuswf9BOjG87pVHhtdX8Y8e_woAAP__s3ksnw">