[llvm] [X86] Stop emitting CFI instructions on i386-windows (PR #135648)
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Sun Mar 8 05:10:40 PDT 2026
================
@@ -1468,7 +1468,9 @@ bool X86FrameLowering::isWin64Prologue(const MachineFunction &MF) const {
}
bool X86FrameLowering::needsDwarfCFI(const MachineFunction &MF) const {
- return !isWin64Prologue(MF) && MF.needsFrameMoves();
+ return MF.getTarget().getMCAsmInfo()->getExceptionHandlingType() !=
----------------
RKSimon wrote:
A better comment at the very least
CC @rnk
https://github.com/llvm/llvm-project/pull/135648
More information about the llvm-commits
mailing list