Skip to content

Commit 37a5c4f

Browse files
committed
Enable non-leaf Frame Pointers for Arm64 Windows
1 parent f5d3fe2 commit 37a5c4f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

compiler/rustc_target/src/spec/targets/aarch64_pc_windows_msvc.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1-
use crate::spec::{Target, TargetMetadata, base};
1+
use crate::spec::{base, FramePointer, Target, TargetMetadata};
22

33
pub(crate) fn target() -> Target {
44
let mut base = base::windows_msvc::opts();
55
base.max_atomic_width = Some(128);
66
base.features = "+v8a,+neon,+fp-armv8".into();
7+
base.frame_pointer = FramePointer::NonLeaf;
78

89
Target {
910
llvm_target: "aarch64-pc-windows-msvc".into(),

0 commit comments

Comments
 (0)