<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/96536>96536</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
Bug in InstrProfilingPlatformOther.c
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
bbarwik
</td>
</tr>
</table>
<pre>
In InstrProfilingPlatformOther.c, there are the following functions:
```cpp
COMPILER_RT_VISIBILITY
char *__llvm_profile_begin_bitmap(void) { return BitmapFirst; }
COMPILER_RT_VISIBILITY
char *__llvm_profile_end_bitmap(void) { return BitmapLast; }
```
However, `BitmapFirst` and `BitmapLast` are nowhere defined, causing compiler error in my case. Pinging @evodius96 because it seems he introduced this code, I am not experienced enough to fix it.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJycUl9vmz4U_TTm5aqR44BTHnho2l_0Q-rUqKsm7QkZc4G7GRvZJmm__WRSrdMepmkSgsv9d46PjwqBBotYseLAiodMLXF0vmpb5S_0PWtd91bVFmoboj9515MhO5yMir3z01Mc0W80E_eQIgTlMUXQO2PchewA_WJ1JGcD290x_sD4HZP8-uh5vmbunz6d6sf_npvnl-ZL_bk-1I_1y9drTY_KAxN3TWPMeWrmlQI2LQ5km5bipGYmbs-OOiZKYPsDeIyLt3BYa0fyIbLdAdj-4Z_B0HZ_AfWofkP6edD33_X9v7vgGX2SjEn-K0nJQdnuI7vuS0mPYN1l1bfDnix2aVqrJSSBtZtmMugBvXceyML0BloF3MCJ7JBaWM7x7DpaQimhxTSJQBEC4hRgRCAbvesWjR3EkQJo12HCqEFNYF0EfJ3RE9rUgdYtwwjRQU-vQHEDWVftunJXqgyr7X5biqIohczGqmyFlkWRY6ulKvrbvhCS59uu2MuSI8qMKsFFzqXItyUvhNzw8paLfdlj0Wuda52oT4rMJl3IxvkhoxAWrEpZ7GRmVIsmrNYVwuIF1iITIjnZV2nmpl2GwHJuKMTwsSVSNFgdliEJ9kdzZ4s31RjjvDpYHJk4DhTHpd1oNzFxTCvfPzezd99QRyaOK5HAxPFK9FyJHwEAAP__Jooa4Q">