We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dcecb99 commit 1fa585dCopy full SHA for 1fa585d
compiler/rustc_target/src/spec/targets/arm64ec_pc_windows_msvc.rs
@@ -10,6 +10,12 @@ pub(crate) fn target() -> Target {
10
&["/machine:arm64ec", "softintrin.lib"],
11
);
12
13
+ // Microsoft recommends enabling frame pointers on Arm64 Windows.
14
+ // From https://learn.microsoft.com/en-us/cpp/build/arm64-windows-abi-conventions?view=msvc-170#integer-registers
15
+ // "The frame pointer (x29) is required for compatibility with fast stack walking used by ETW
16
+ // and other services. It must point to the previous {x29, x30} pair on the stack."
17
+ base.frame_pointer = FramePointer::NonLeaf;
18
+
19
Target {
20
llvm_target: "arm64ec-pc-windows-msvc".into(),
21
metadata: TargetMetadata {
0 commit comments