[llvm-dev] LLVM XRay Runtime Library

Arpan Agrawal via llvm-dev llvm-dev at lists.llvm.org
Mon Dec 13 00:48:28 PST 2021


Hi!

I am trying to instrument some LLVM IR. I am working with LLVM IR directly
(not using Clang).

I added XRay function attributes and set the XRAY_OPTIONS to
*patch_premain=true
xray_mode=xray-basic verbosity=0.*

Still, I see no trace logs getting dumped. From the official documentation,
it is not very clear what exactly to do with XRay Runtime Library
<https://releases.llvm.org/11.0.0/docs/XRay.html#xray-runtime-library>.

Thanks,
Arpan

-- 

Arpan Agrawal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20211213/59a03685/attachment.html>


More information about the llvm-dev mailing list