<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/110407>110407</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[BOLT] Instrument mode doesn't support CREL
</td>
</tr>
<tr>
<th>Labels</th>
<td>
BOLT
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
Andarwinux
</td>
</tr>
</table>
<pre>
```
$ clang -Wa,--crel,--allow-experimental-crel -Wl,-q main.c -o test
$ llvm-bolt --instrument test -o test.instr
BOLT-INFO: shared object or position-independent executable detected
BOLT-INFO: Target architecture: x86_64
BOLT-INFO: BOLT version: 6b8135762cf77028499819464cf769f222297da4
BOLT-INFO: first alloc address is 0x0
BOLT-INFO: creating new program header table at address 0x200000, offset 0x200000
BOLT-ERROR: instrumentation runtime libraries require relocations
```
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxsk81uszoQhq_GbEZEZmL-FizSn0iVqlMpqtTlkcED8ZGxqW3anLv_ZJp-2QQhgWfeeTQzvMgQ9GSJOlY-sPIpk2s8O98drJL-W9v1kvVO_d-xil9v_sT4gaGAwUg7Qf4hGT7m-eDJbC_SGPed02Uhr2eyUZotB_nHlv-EWWq7GyB3ECnEG8-YrznvnYmQ59qG6NdUvol-xbst_lPy8Pb6nr_8c3xj-wOEs_SkwPX_0RDBeVhc0FE7m2uraCGrEoouNKxR9oZAUaQhkrrDepd-ogjSD2edRKunFL401b-VuKNPB_giH7Sz6Vz1TbEv6wqHsa45NqJtm6IVlRjGumpHRMS2VvIeatQ-REgbHEAq5SkE0AH4hd8RD55k1HYCS9-weDd5OcOZpCIPP0PK-JfCL8jTxfAR3DgGirfQDf18Or2dEvu2f5m2CH61Uc8ERvdeek0BPH2u2hN4Mm7YROH6KX-dkqlur9p9KzPqihrrsmm4aLNzN4gSe6xUPxayqUmqeqwbGrEYSykqITLdIUfBW2x5uRe83RXlvhF9VdeSo8JSMcFpltrskmd2zk-ZDmGlrii44HVmZE8mbI5GTIMxxORt3_14bJ0CE9zoEMONEHU021-wFZRP8HLz4OwUgXIULMM6QliXxfkIj6fn12z1pjvHuAS2PzA8MjxOOp7Xfje4meEx8a-PfPEu-ZPhcWs3MDxeO_7q8E8AAAD__9P8GlI">