~ilammy/clang-rt-xray

Rust bindings to Clang XRay runtime library
0d00ee06 — Oleksii Lozovskyi 1 year, 3 months ago
Start 0.0.2 development
d941b338 — Oleksii Lozovskyi 1 year, 3 months ago
Adjust README
afac81c0 — Oleksii Lozovskyi 1 year, 3 months ago
clang-rt-xray v0.0.1

clone

read-only
https://git.sr.ht/~ilammy/clang-rt-xray
read/write
git@git.sr.ht:~ilammy/clang-rt-xray

You can also use your local clone with git send-email.

#clang-rt-xray

Bindings to Clang/LLVM's compiler-rt libraryXRay Runtime Library.

#Usage

You have to use a nightly compiler and pass the -Z instrument-xray flag to rustc.

compiler-rt library must be installed in the system.

  • On Debian, compiler-rt is installed as a part of the clang package.
  • On Fedora, compiler-rt package is available.

We will try to locate XRay libraries using clang binary from PATH. If not found automatically, set CLANG_RT_XRAY_DIR environment to the installation directory.

#License

This project follows compiler-rt licensing:

  • triple-licensing for the duration of LLVM relicensing:
    • Apache License, Version 2.0 with LLVM exception – new license
    • University of Illinois/NCSA license
    • MIT license
  • users may use the code under either of these licenses
  • contributions must be provided under all three licenses
  • at some point in the future only Apache 2.0 will be used

See LICENSE for details.