diff options
Diffstat (limited to 'tests/codegen-llvm/instrument-mcount.rs')
| -rw-r--r-- | tests/codegen-llvm/instrument-mcount.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/codegen-llvm/instrument-mcount.rs b/tests/codegen-llvm/instrument-mcount.rs new file mode 100644 index 00000000000..8c97535d4a8 --- /dev/null +++ b/tests/codegen-llvm/instrument-mcount.rs @@ -0,0 +1,7 @@ +// +//@ compile-flags: -Z instrument-mcount -Copt-level=0 + +#![crate_type = "lib"] + +// CHECK: attributes #{{.*}} "frame-pointer"="all" "instrument-function-entry-inlined"="{{.*}}mcount{{.*}}" +pub fn foo() {} |
