[all-commits] [llvm/llvm-project] 2a13f5: MachineVerifier: Check stack protector is top-most...

Guy David via All-commits all-commits at lists.llvm.org
Sun Jan 12 03:14:17 PST 2025


  Branch: refs/heads/users/guy-david/machine-stack-protector-offset-v2
  Home:   https://github.com/llvm/llvm-project
  Commit: 2a13f5df39add85de86c98aec7693541a17a800f
      https://github.com/llvm/llvm-project/commit/2a13f5df39add85de86c98aec7693541a17a800f
  Author: Guy David <guyda96 at gmail.com>
  Date:   2025-01-12 (Sun, 12 Jan 2025)

  Changed paths:
    M llvm/lib/CodeGen/MachineVerifier.cpp
    M llvm/lib/Target/AArch64/AArch64FrameLowering.cpp
    M llvm/lib/Target/AMDGPU/SIFrameLowering.cpp
    M llvm/lib/Target/ARC/ARCFrameLowering.cpp
    M llvm/lib/Target/ARM/ARMFrameLowering.cpp
    M llvm/lib/Target/CSKY/CSKYFrameLowering.cpp
    M llvm/lib/Target/LoongArch/LoongArchFrameLowering.cpp
    M llvm/lib/Target/Mips/MipsSEFrameLowering.cpp
    M llvm/lib/Target/PowerPC/PPCFrameLowering.cpp
    M llvm/lib/Target/RISCV/RISCVFrameLowering.cpp
    M llvm/lib/Target/SystemZ/SystemZFrameLowering.cpp
    M llvm/lib/Target/XCore/XCoreFrameLowering.cpp
    M llvm/lib/Target/Xtensa/XtensaFrameLowering.cpp
    A llvm/test/MachineVerifier/stack-protector-offset.mir

  Log Message:
  -----------
  MachineVerifier: Check stack protector is top-most in frame

Mitigate against potential bugs that might place it elsewhere and render
the mechanism useless.
Additionally, create scavenging spill-slots as *spilled* stack objects.
This seems like an oversight when copying code from other backends.



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