Blame SOURCES/0002-PATCH-clang-Make-funwind-tables-the-default-on-all-a.patch

300695
From 07b062e1f7c3359550aa8c0a7b86f6054971439d Mon Sep 17 00:00:00 2001
c558f2
From: serge-sans-paille <sguelton@redhat.com>
300695
Date: Thu, 25 Feb 2021 14:09:29 +0100
300695
Subject: [PATCH 2/6] [PATCH][clang] Make -funwind-tables the default on all
300695
 archs
c558f2
c558f2
---
c558f2
 clang/lib/Driver/ToolChain.cpp      | 2 +-
c558f2
 clang/lib/Driver/ToolChains/Gnu.cpp | 2 +-
c558f2
 2 files changed, 2 insertions(+), 2 deletions(-)
c558f2
c558f2
diff --git a/clang/lib/Driver/ToolChain.cpp b/clang/lib/Driver/ToolChain.cpp
300695
index b2ddef1..715b323 100644
c558f2
--- a/clang/lib/Driver/ToolChain.cpp
c558f2
+++ b/clang/lib/Driver/ToolChain.cpp
300695
@@ -257,7 +257,7 @@ std::string ToolChain::getInputFilename(const InputInfo &Input) const {
c558f2
 }
c558f2
 
c558f2
 bool ToolChain::IsUnwindTablesDefault(const ArgList &Args) const {
c558f2
-  return false;
c558f2
+  return true;
c558f2
 }
c558f2
 
c558f2
 Tool *ToolChain::getClang() const {
c558f2
diff --git a/clang/lib/Driver/ToolChains/Gnu.cpp b/clang/lib/Driver/ToolChains/Gnu.cpp
300695
index 1d8a3cd..5deeb10 100644
c558f2
--- a/clang/lib/Driver/ToolChains/Gnu.cpp
c558f2
+++ b/clang/lib/Driver/ToolChains/Gnu.cpp
300695
@@ -2713,7 +2713,7 @@ bool Generic_GCC::IsUnwindTablesDefault(const ArgList &Args) const {
300695
   case llvm::Triple::x86_64:
300695
     return true;
300695
   default:
300695
-    return false;
300695
+    return true;
300695
   }
c558f2
 }
c558f2
 
c558f2
-- 
300695
1.8.3.1
c558f2