rust/compiler/rustc_target/src
Stuart Cook d91e86e963
Rollup merge of #140828 - dpaoliello:arm64fp, r=workingjubilee
Enable non-leaf Frame Pointers for Arm64 Windows

Microsoft recommends enabling frame pointers for Arm64 Windows as it enables fast stack walking, from <https://learn.microsoft.com/en-us/cpp/build/arm64-windows-abi-conventions?view=msvc-170#integer-registers>:

> The frame pointer (x29) is required for compatibility with fast stack walking used by ETW and other services. It must point to the previous {x29, x30} pair on the stack.

I'm setting this to "non-leaf" as leaf functions shouldn't be spilling registers and so won't touch the frame pointer.
2025-05-09 16:25:06 +10:00
..
asm Rename is_like_osx to is_like_darwin 2025-03-25 21:53:52 +01:00
callconv mitigate MSVC unsoundness by not emitting alignment attributes on win32-msvc targets 2025-04-07 23:30:55 +02:00
spec Rollup merge of #140828 - dpaoliello:arm64fp, r=workingjubilee 2025-05-09 16:25:06 +10:00
json.rs compiler: internally merge Conv::PtxKernel into GpuKernel 2025-02-09 23:14:55 -08:00
lib.rs Make #![feature(let_chains)] bootstrap conditional in compiler/ 2025-04-23 16:40:30 +02:00
target_features.rs Added apxf target feature support, under flag apx_target_feature 2025-05-06 23:28:27 +05:30
tests.rs Use serde_json for target spec json 2022-06-03 16:46:19 +00:00