[all-commits] [llvm/llvm-project] 71ffa2: [flang] Correctly handle -mframe-pointer=reserved ...
Daniel Paoliello via All-commits
all-commits at lists.llvm.org
Mon Jul 7 09:16:08 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 71ffa2a4d3c220c97fbffa6078a446cc17bbaada
https://github.com/llvm/llvm-project/commit/71ffa2a4d3c220c97fbffa6078a446cc17bbaada
Author: Daniel Paoliello <danpao at microsoft.com>
Date: 2025-07-07 (Mon, 07 Jul 2025)
Changed paths:
M flang/lib/Frontend/CompilerInvocation.cpp
M flang/lib/Optimizer/Passes/Pipelines.cpp
M flang/test/Driver/func-attr.f90
Log Message:
-----------
[flang] Correctly handle -mframe-pointer=reserved (#146937)
Fixes `#146802`
#146582 started using the `Reserved` Frame Pointer kind for Arm64
Windows, but this revealed a bug in Flang where it copied the
`-mframe-pointer=reserved` flag from Clang, but didn't correctly handle
it in its own command line parser and subsequent compilation pipeline.
This change adds support for `-mframe-pointer=reserved` and adds a test
to make sure that functions are correctly marked when the flag is set.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list