[all-commits] [llvm/llvm-project] 515bfc: [SystemZ] Implement -fstack-clash-protection

Jonas Paulsson via All-commits all-commits at lists.llvm.org
Sat Jun 6 09:39:12 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 515bfc66eaced830c03b2ec187bef0d8c4dc6915
      https://github.com/llvm/llvm-project/commit/515bfc66eaced830c03b2ec187bef0d8c4dc6915
  Author: Jonas Paulsson <paulsson at linux.vnet.ibm.com>
  Date:   2020-06-06 (Sat, 06 Jun 2020)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/lib/Basic/Targets/SystemZ.h
    M clang/lib/Driver/ToolChains/Clang.cpp
    M clang/test/CodeGen/stack-clash-protection.c
    A clang/test/Driver/stack-clash-protection-02.c
    M llvm/include/llvm/ADT/Triple.h
    M llvm/lib/Target/SystemZ/SystemZFrameLowering.cpp
    M llvm/lib/Target/SystemZ/SystemZFrameLowering.h
    M llvm/lib/Target/SystemZ/SystemZISelLowering.cpp
    M llvm/lib/Target/SystemZ/SystemZISelLowering.h
    M llvm/lib/Target/SystemZ/SystemZInstrInfo.cpp
    M llvm/lib/Target/SystemZ/SystemZInstrInfo.h
    M llvm/lib/Target/SystemZ/SystemZInstrInfo.td
    M llvm/lib/Target/SystemZ/SystemZOperators.td
    A llvm/test/CodeGen/SystemZ/stack-clash-dynamic-alloca.ll
    A llvm/test/CodeGen/SystemZ/stack-clash-protection.ll

  Log Message:
  -----------
  [SystemZ] Implement -fstack-clash-protection

Probing of allocated stack space is now done when this option is passed. The
purpose is to protect against the stack clash attack (see
https://www.qualys.com/2017/06/19/stack-clash/stack-clash.txt).

Review: Ulrich Weigand

Differential Revision: https://reviews.llvm.org/D78717




More information about the All-commits mailing list