about summary refs log tree commit diff
path: root/tests/codegen/force-frame-pointers.rs
blob: dece633f831ff42ba2878f95d57cc811f2afb788 (plain)
1
2
3
4
5
6
7
8
9
10
11
//@ 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"]

// Always: attributes #{{.*}} "frame-pointer"="all"
// NonLeaf: attributes #{{.*}} "frame-pointer"="non-leaf"
pub fn foo() {}