From adef55cfd9fdbfd34b3f87f59f312fc93d649707 Mon Sep 17 00:00:00 2001 From: David Abdurachmanov Date: Tue, 31 Mar 2020 20:28:50 +0300 Subject: [PATCH] Remove obsolete patches Signed-off-by: David Abdurachmanov --- ...es.cpp-test-to-work-when-build-direc.patch | 14 ------- ...ix-uninitialized-value-in-ABIArgInfo.patch | 37 ------------------- 2 files changed, 51 deletions(-) delete mode 100644 0001-Fix-Driver-modules.cpp-test-to-work-when-build-direc.patch delete mode 100644 0001-Fix-uninitialized-value-in-ABIArgInfo.patch diff --git a/0001-Fix-Driver-modules.cpp-test-to-work-when-build-direc.patch b/0001-Fix-Driver-modules.cpp-test-to-work-when-build-direc.patch deleted file mode 100644 index 686fd91..0000000 --- a/0001-Fix-Driver-modules.cpp-test-to-work-when-build-direc.patch +++ /dev/null @@ -1,14 +0,0 @@ -diff --git a/clang/test/Driver/modules.cpp b/clang/test/Driver/modules.cpp ---- a/clang/test/Driver/modules.cpp -+++ b/clang/test/Driver/modules.cpp -@@ -15,7 +15,8 @@ - // RUN: %clang -std=c++2a %t/module.pcm -S -o %t/module.pcm.o -v 2>&1 | FileCheck %s --check-prefix=CHECK-COMPILE - // - // CHECK-COMPILE: -cc1 {{.*}} {{-emit-obj|-S}} --// CHECK-COMPILE-SAME: -o {{.*}}.{{pcm.o|s}} -+// CHECK-COMPILE-SAME: {{ -o }} -+// CHECK-COMPILE-SAME: module{{2*}}.{{pcm.o|s}} - // CHECK-COMPILE-SAME: -x pcm - // CHECK-COMPILE-SAME: {{.*}}.pcm - - diff --git a/0001-Fix-uninitialized-value-in-ABIArgInfo.patch b/0001-Fix-uninitialized-value-in-ABIArgInfo.patch deleted file mode 100644 index 6291203..0000000 --- a/0001-Fix-uninitialized-value-in-ABIArgInfo.patch +++ /dev/null @@ -1,37 +0,0 @@ -From bae24f2020f7dc9db372c7e3f38d77fc5fa320d0 Mon Sep 17 00:00:00 2001 -From: serge-sans-paille -Date: Fri, 1 Feb 2019 06:39:13 +0000 -Subject: [PATCH] Fix uninitialized value in ABIArgInfo - -GCC-9 takes advantage of this uninitialized values to optimize stuff, -which ends up in failing validation when compiling clang. ---- - clang/include/clang/CodeGen/CGFunctionInfo.h | 10 +++++----- - 1 file changed, 5 insertions(+), 5 deletions(-) - -diff --git a/clang/include/clang/CodeGen/CGFunctionInfo.h b/clang/include/clang/CodeGen/CGFunctionInfo.h -index 1f81072..caf7105 100644 ---- a/clang/include/clang/CodeGen/CGFunctionInfo.h -+++ b/clang/include/clang/CodeGen/CGFunctionInfo.h -@@ -110,13 +110,13 @@ private: - } - - ABIArgInfo(Kind K) -- : TheKind(K), PaddingInReg(false), InReg(false) { -- } -+ : TypeData(nullptr), PaddingType(nullptr), DirectOffset(0), -+ TheKind(K), PaddingInReg(false), InAllocaSRet(false), IndirectByVal(false), -+ IndirectRealign(false), SRetAfterThis(false), InReg(false), -+ CanBeFlattened(false), SignExt(false) {} - - public: -- ABIArgInfo() -- : TypeData(nullptr), PaddingType(nullptr), DirectOffset(0), -- TheKind(Direct), PaddingInReg(false), InReg(false) {} -+ ABIArgInfo() : ABIArgInfo(Direct) {} - - static ABIArgInfo getDirect(llvm::Type *T = nullptr, unsigned Offset = 0, - llvm::Type *Padding = nullptr, --- -1.8.3.1 -