mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-28 17:53:56 +00:00
test: for frame-pointer=non-leaf codegen opts
This commit is contained in:
parent
79416c4118
commit
f301d087d4
@ -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…
Reference in New Issue
Block a user