test: for frame-pointer=non-leaf codegen opts
This commit is contained in:
parent
79416c4118
commit
f301d087d4
1 changed files with 7 additions and 2 deletions
|
@ -1,6 +1,11 @@
|
|||
//@ compile-flags: -C no-prepopulate-passes -C force-frame-pointers=y -Copt-level=0
|
||||
//@ revisions: Always NonLeaf
|
||||
//@ [Always] compile-flags: -Cforce-frame-pointers=yes
|
||||
//@ [NonLeaf] compile-flags: -Cforce-frame-pointers=non-leaf
|
||||
//@ compile-flags: -Zunstable-options
|
||||
//@ compile-flags: -C no-prepopulate-passes -Copt-level=0
|
||||
|
||||
#![crate_type = "lib"]
|
||||
|
||||
// CHECK: attributes #{{.*}} "frame-pointer"="all"
|
||||
// Always: attributes #{{.*}} "frame-pointer"="all"
|
||||
// NonLeaf: attributes #{{.*}} "frame-pointer"="non-leaf"
|
||||
pub fn foo() {}
|
||||
|
|
Loading…
Add table
Reference in a new issue