diff options
| author | Oleksii Lozovskyi <me@ilammy.net> | 2022-09-24 22:05:25 +0900 |
|---|---|---|
| committer | Oleksii Lozovskyi <me@ilammy.net> | 2023-02-09 12:28:00 +0900 |
| commit | bac15db1d0f3ccdb9b9f61ba808cd25fbf400e88 (patch) | |
| tree | 4f0a6cdd8172693f1b0fc72b5466cede2b9f00e1 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | b3cadd2dcfe37836cdbfd6c5871bd8398748ac3f (diff) | |
| download | rust-bac15db1d0f3ccdb9b9f61ba808cd25fbf400e88.tar.gz rust-bac15db1d0f3ccdb9b9f61ba808cd25fbf400e88.zip | |
Emit basic XRay instrumentation attributes
Add the attributes to functions according to the settings. "xray-always" overrides "xray-never", and they both override "xray-ignore-loops" and "xray-instruction-threshold", but we'll let lints deal with warnings about silly attribute combinations.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
