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

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