<div dir="ltr">Hi!<div><br></div><div>I am trying to instrument some LLVM IR. I am working with LLVM IR directly (not using Clang). </div><div><br></div><div>I added XRay function attributes and set the XRAY_OPTIONS to <i>patch_premain=true xray_mode=xray-basic verbosity=0.</i></div><div><br></div><div>Still, I see no trace logs getting dumped. From the official documentation, it is not very clear what exactly to do with <a href="https://releases.llvm.org/11.0.0/docs/XRay.html#xray-runtime-library">XRay Runtime Library</a>.</div><div><br></div><div>Thanks,</div><div>Arpan</div><div><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><pre><span style="font-family:garamond,serif">Arpan Agrawal
<br></span></pre></div></div></div></div></div></div>