[all-commits] [llvm/llvm-project] b3458f: [llvm] Win x64 Unwind V2 1/n: Mark beginning and e...

Daniel Paoliello via All-commits all-commits at lists.llvm.org
Thu Jan 30 13:51:51 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b3458fdec5e183b49c634b72b828630bb6972400
      https://github.com/llvm/llvm-project/commit/b3458fdec5e183b49c634b72b828630bb6972400
  Author: Daniel Paoliello <danpao at microsoft.com>
  Date:   2025-01-30 (Thu, 30 Jan 2025)

  Changed paths:
    M llvm/include/llvm/MC/MCStreamer.h
    M llvm/lib/MC/MCAsmStreamer.cpp
    M llvm/lib/MC/MCParser/COFFAsmParser.cpp
    M llvm/lib/MC/MCStreamer.cpp
    M llvm/lib/Target/AArch64/MCTargetDesc/AArch64TargetStreamer.h
    M llvm/lib/Target/AArch64/MCTargetDesc/AArch64WinCOFFStreamer.cpp
    M llvm/lib/Target/ARM/MCTargetDesc/ARMWinCOFFStreamer.cpp
    M llvm/lib/Target/X86/X86FrameLowering.cpp
    M llvm/lib/Target/X86/X86InstrCompiler.td
    M llvm/lib/Target/X86/X86MCInstLower.cpp
    M llvm/test/CodeGen/X86/apx/push2-pop2-cfi-seh.ll
    M llvm/test/CodeGen/X86/avx512-intel-ocl.ll
    M llvm/test/CodeGen/X86/avx512-regcall-Mask.ll
    M llvm/test/CodeGen/X86/avx512-regcall-NoMask.ll
    M llvm/test/CodeGen/X86/break-false-dep.ll
    M llvm/test/CodeGen/X86/catchpad-realign-savexmm.ll
    M llvm/test/CodeGen/X86/cfguard-x86-64-vectorcall.ll
    M llvm/test/CodeGen/X86/cleanuppad-realign.ll
    M llvm/test/CodeGen/X86/conditional-tailcall-pgso.ll
    M llvm/test/CodeGen/X86/conditional-tailcall.ll
    M llvm/test/CodeGen/X86/ldexp.ll
    M llvm/test/CodeGen/X86/localescape.ll
    M llvm/test/CodeGen/X86/mixed-ptr-sizes.ll
    M llvm/test/CodeGen/X86/musttail-varargs.ll
    M llvm/test/CodeGen/X86/no-sse-win64.ll
    M llvm/test/CodeGen/X86/preserve_nonecc_call_win.ll
    M llvm/test/CodeGen/X86/segmented-stacks.ll
    M llvm/test/CodeGen/X86/seh-catchpad.ll
    M llvm/test/CodeGen/X86/sse-regcall.ll
    M llvm/test/CodeGen/X86/sse-regcall4.ll
    M llvm/test/CodeGen/X86/stack-coloring-wineh.ll
    M llvm/test/CodeGen/X86/swift-async-win64.ll
    M llvm/test/CodeGen/X86/tailcc-ssp.ll
    M llvm/test/CodeGen/X86/taildup-callsiteinfo.mir
    M llvm/test/CodeGen/X86/win-catchpad-csrs.ll
    M llvm/test/CodeGen/X86/win-catchpad.ll
    M llvm/test/CodeGen/X86/win-funclet-cfi.ll
    M llvm/test/CodeGen/X86/win-smallparams.ll
    M llvm/test/CodeGen/X86/win64-byval.ll
    M llvm/test/CodeGen/X86/win64-eh-empty-block-2.mir
    M llvm/test/CodeGen/X86/win64-funclet-savexmm.ll
    M llvm/test/CodeGen/X86/win64-seh-epilogue-statepoint.ll
    M llvm/test/CodeGen/X86/win64_eh.ll
    M llvm/test/CodeGen/X86/win64_frame.ll
    M llvm/test/CodeGen/X86/x86-64-flags-intrinsics.ll
    M llvm/test/CodeGen/X86/x86-win64-shrink-wrapping.ll
    M llvm/test/DebugInfo/COFF/trailing-inlined-function.s
    M llvm/test/DebugInfo/MIR/X86/instr-ref-join-def-vphi.mir
    M llvm/test/ExecutionEngine/JITLink/x86-64/COFF_pdata_no_strip.s
    M llvm/test/ExecutionEngine/JITLink/x86-64/COFF_pdata_strip.s
    M llvm/test/MC/AsmParser/directive_seh.s
    M llvm/test/MC/AsmParser/seh-directive-errors.s
    M llvm/test/MC/COFF/cv-def-range-align.s
    M llvm/test/MC/COFF/cv-inline-linetable-unlikely.s
    M llvm/test/MC/COFF/seh-align2.s
    M llvm/test/MC/COFF/seh-align3.s
    M llvm/test/MC/COFF/seh-linkonce.s
    M llvm/test/MC/COFF/seh-section-2.s
    M llvm/test/MC/COFF/seh-section.s
    M llvm/test/MC/COFF/seh.s
    M llvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/x86-basic.ll.expected

  Log Message:
  -----------
  [llvm] Win x64 Unwind V2 1/n: Mark beginning and end of epilogs (#110024)

Windows x64 Unwind V2 adds epilog information to unwind data:
specifically, the length of the epilog and the offset of each epilog.

The first step to do this is to add markers to the beginning and end of
each epilog when generating Windows x64 code. I've modelled this after
how LLVM was marking ARM and AArch64 epilogs in Windows (and unified the
code between the three).



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