Update package version to 22.1.4
This commit is contained in:
@@ -1,16 +1,14 @@
|
||||
From 669e0924afcedf27350469a944267cad4aabb866 Mon Sep 17 00:00:00 2001
|
||||
From b5a34a397a495fed4e6db431945f3c000ae91b03 Mon Sep 17 00:00:00 2001
|
||||
From: Evangelos Foutras <[email protected]>
|
||||
Date: Sun, 30 Jun 2024 08:51:20 +0000
|
||||
Subject: [PATCH] Enable -fstack-protector-strong by default
|
||||
|
||||
---
|
||||
clang/lib/Driver/ToolChains/Linux.h | 5 +++++
|
||||
clang/test/Driver/fsanitize.c | 6 +++---
|
||||
clang/test/Driver/stack-protector.c | 4 ++--
|
||||
clang/lib/Driver/ToolChains/Linux.h | 5 +++++
|
||||
clang/test/Driver/fsanitize-safe-stack.c | 6 +++---
|
||||
clang/test/Driver/stack-protector.c | 4 ++--
|
||||
3 files changed, 10 insertions(+), 5 deletions(-)
|
||||
|
||||
diff --git a/clang/lib/Driver/ToolChains/Linux.h b/clang/lib/Driver/ToolChains/Linux.h
|
||||
index 524391743090..0d4e1944118b 100644
|
||||
--- a/clang/lib/Driver/ToolChains/Linux.h
|
||||
+++ b/clang/lib/Driver/ToolChains/Linux.h
|
||||
@@ -10,6 +10,7 @@
|
||||
@@ -21,7 +19,7 @@ index 524391743090..0d4e1944118b 100644
|
||||
#include "clang/Driver/ToolChain.h"
|
||||
|
||||
namespace clang {
|
||||
@@ -48,6 +49,10 @@ public:
|
||||
@@ -50,6 +51,10 @@
|
||||
IsAArch64OutlineAtomicsDefault(const llvm::opt::ArgList &Args) const override;
|
||||
bool isPIEDefault(const llvm::opt::ArgList &Args) const override;
|
||||
bool IsMathErrnoDefault() const override;
|
||||
@@ -32,11 +30,9 @@ index 524391743090..0d4e1944118b 100644
|
||||
SanitizerMask getSupportedSanitizers() const override;
|
||||
void addProfileRTLibs(const llvm::opt::ArgList &Args,
|
||||
llvm::opt::ArgStringList &CmdArgs) const override;
|
||||
diff --git a/clang/test/Driver/fsanitize.c b/clang/test/Driver/fsanitize.c
|
||||
index 1671825042c3..5d8ac7009f8c 100644
|
||||
--- a/clang/test/Driver/fsanitize.c
|
||||
+++ b/clang/test/Driver/fsanitize.c
|
||||
@@ -700,12 +700,12 @@
|
||||
--- a/clang/test/Driver/fsanitize-safe-stack.c
|
||||
+++ b/clang/test/Driver/fsanitize-safe-stack.c
|
||||
@@ -1,12 +1,12 @@
|
||||
// RUN: %clang -fno-sanitize=safe-stack -### %s 2>&1 | FileCheck %s -check-prefix=NOSP
|
||||
// NOSP-NOT: "-fsanitize=safe-stack"
|
||||
|
||||
@@ -52,8 +48,6 @@ index 1671825042c3..5d8ac7009f8c 100644
|
||||
// NO-SP-NOT: stack-protector
|
||||
// NO-SP: "-fsanitize=safe-stack"
|
||||
// SP-ASAN: error: invalid argument '-fsanitize=safe-stack' not allowed with '-fsanitize=address'
|
||||
diff --git a/clang/test/Driver/stack-protector.c b/clang/test/Driver/stack-protector.c
|
||||
index 169376919a71..2470b7f7e39e 100644
|
||||
--- a/clang/test/Driver/stack-protector.c
|
||||
+++ b/clang/test/Driver/stack-protector.c
|
||||
@@ -3,11 +3,11 @@
|
||||
@@ -70,3 +64,6 @@ index 169376919a71..2470b7f7e39e 100644
|
||||
// SSP-BUF: "-stack-protector-buffer-size" "16"
|
||||
|
||||
// RUN: %clang -target i386-pc-openbsd -### %s 2>&1 | FileCheck %s -check-prefix=OPENBSD
|
||||
--
|
||||
2.51.0
|
||||
|
||||
|
||||
Reference in New Issue
Block a user