We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 365fc65 commit 3963b2eCopy full SHA for 3963b2e
tests/codegen/force-frame-pointers.rs
@@ -1,6 +1,11 @@
1
-//@ compile-flags: -C no-prepopulate-passes -C force-frame-pointers=y -Copt-level=0
+//@ revisions: always non-leaf
2
+//@ [Always] compile-flags: -Cforce-frame-pointers=yes
3
+//@ [NonLeaf] compile-flags: -Cforce-frame-pointers=non-leaf
4
+//@ compile-flags: -Zunstable-options
5
+//@ compile-flags: -C no-prepopulate-passes -Copt-level=0
6
-#![crate_type="lib"]
7
+#![crate_type = "lib"]
8
-// CHECK: attributes #{{.*}} "frame-pointer"="all"
9
+// Always: attributes #{{.*}} "frame-pointer"="all"
10
+// NonLeaf: attributes #{{.*}} "frame-pointer"="non-leaf"
11
pub fn foo() {}
0 commit comments