[all-commits] [llvm/llvm-project] 660989: [clang] allow -fstack-clash-protection on FreeBSD

Ed Maste via All-commits all-commits at lists.llvm.org
Tue Aug 24 18:03:22 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6609892a2dcdd1a4f6adefe191b55524861f020c
      https://github.com/llvm/llvm-project/commit/6609892a2dcdd1a4f6adefe191b55524861f020c
  Author: Ed Maste <emaste at FreeBSD.org>
  Date:   2021-08-24 (Tue, 24 Aug 2021)

  Changed paths:
    M clang/lib/Driver/ToolChains/Clang.cpp
    M clang/test/Driver/stack-clash-protection.c

  Log Message:
  -----------
  [clang] allow -fstack-clash-protection on FreeBSD

-fstack-clash-protection was added in Clang commit e67cbac81211 but was
enabled only on Linux.  Allow it on FreeBSD as well, as it works fine.

Reviewed By: serge-sans-paille

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




More information about the All-commits mailing list