<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/56472>56472</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
How do I run BOLT on a benchmark of HHVM?
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
ZahraHeydari95
</td>
</tr>
</table>
<pre>
Hello
I want to run a benchmark with HHVM.
On the other hand, I want to apply BOLT to it as well. But I don't know what to do.
```hhvm perf.php --wordpress --hhvm=/path/to/hhvm```
According to the BOLT instructions, I have to replace the execution binary in all three steps. But this binary (HHVM) has a series of inputs according to the above command.
As a result, the following questions arise for me:
1) How to add -Wl, -q to hhvm binary?
2) How to get a profile on the above command which is for running the benchmark?
3) How do I use ./perf2bolt in the command though wordpress--? Because it considers --wordpress as its own input and gives an error?
4) How do I still use ./llvm-bolt despite --wordpress? Because it still takes its own input and gives an error?
please guide me.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyVU02v2jAQ_DXJZUUUHL5yyAH6hKjUqpeqlXpz4k3sPmPn2Q4p_77rAO8BPVWKgol3xrOz49qKc3VArW2SvyT59jOM3AQIFtxggEONppFH7l5hVEHC4fDja3ap_GYgSARLLweSG5GwT_AB532vz7D79uV7_KcCcA8jnZPBbghUJ6xJ2DrAq7EjjJJPIGGv5Nf3Kr88Up6O0KNrs172MJuN1oneofe0jntJ8ZKwfc-DpJ9g6TV9vcHvObdNQ2BlunhebGCSqIwPbmiCssZf-pD8hJMN2Gve4FSKf7AZYg3UynB3JhhwrWnPIYIP2PtLe0Eqf6tJ2Ca6lrCSOD1Z6tEp9GBbgvdDoE_Pknht6fDGHo9k69WRbYRSy4MOUWAsay2NbYy4twH9pB24Uz7uODhiUmzvO59HCQdyO05HCJj91JFp9hY_TA5fFCfF_h7G7mAd0hyhd7ZVmkZv_lVLo1SNBGo_aqAMmakvKntP0hN_ceMXlmwfSH0WZ0nDZrXVIXoc4Tf-IO3QSXhPwGxGfLDDhkco5awhG5RA5x9yQs4rstqO5uI6RK5OnWgQ3AA6Z92TrsWDLrKXBn1Tp_XpOJvUCfS9Cnh_1pOeCzLwV_xvCb1GTiTdQP3QPB_uRiqqQpRFydOggsbqXWm8t1Om7eP9pbxNOSz26eB0JUPofUwI29PT0eUe6oxMvnZ3a5Jm_RsbitxeeU8po8VytVizVFYc87YtF2WLhWDNeiU2xaosi0VZzmss6zbVvEbtq2S5SxgzOMJEQetk-ZKqiuWM5ev5PF8t1_M846vNvGQLsdmwct00LFnkeORKZ1FHZl2Xuuri-9B52tTKB_-xyb1XnUGcjiN-PlBSXPWLS8cPeBZ0McplOimopg7-AgC9nMw">