We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d89e115 commit c890f21Copy full SHA for c890f21
tests/codegen-llvm/instrument_fn.rs
@@ -1,12 +1,14 @@
1
// Verify the #[instrument_fn] applies the correct LLVM IR function attributes.
2
//
3
+// Limit to x86_64 as it supports all instrumentation options.
4
+//
5
//@ revisions:XRAY MCOUNT FENTRY
6
//@ add-minicore
-//@ compile-flags: -Copt-level=0
7
+//@ compile-flags: -Copt-level=0 --target=x86_64-unknown-linux-gnu
8
+//@ needs-llvm-components: x86
9
//@ [XRAY] compile-flags: -Zinstrument-function=xray
10
//@ [MCOUNT] compile-flags: -Zinstrument-function=mcount
-//@ [FENTRY] compile-flags: -Zinstrument-function=fentry --target=x86_64-unknown-linux-gnu
-//@ [FENTRY] needs-llvm-components: x86
11
+//@ [FENTRY] compile-flags: -Zinstrument-function=fentry
12
13
#![feature(no_core)]
14
#![crate_type = "lib"]
0 commit comments