mirror of
https://src.fedoraproject.org/rpms/llvm.git
synced 2024-11-28 10:35:42 +00:00
Remove DWARF4 patch
This commit is contained in:
parent
d0e5867bd7
commit
50c0f35403
1 changed files with 0 additions and 113 deletions
|
@ -1,113 +0,0 @@
|
||||||
From c51e7e9bcc3c5a0be34040c1f12a2bb50335cd6b Mon Sep 17 00:00:00 2001
|
|
||||||
From: Konrad Kleine <kkleine@redhat.com>
|
|
||||||
Date: Thu, 24 Mar 2022 09:44:21 +0100
|
|
||||||
Subject: [PATCH] Produce DWARF4 by default
|
|
||||||
|
|
||||||
Have a look at the following commit to see when the move from DWARF 4 to 5 first happened upstream:
|
|
||||||
|
|
||||||
https://github.com/llvm/llvm-project/commit/d3b26dea16108c427b19b5480c9edc76edf8f5b4?diff=unified
|
|
||||||
---
|
|
||||||
clang/test/CodeGen/dwarf-version.c | 8 ++++----
|
|
||||||
clang/test/Driver/as-options.s | 4 ++--
|
|
||||||
clang/test/Driver/cl-options.c | 2 +-
|
|
||||||
clang/test/Driver/clang-g-opts.c | 2 +-
|
|
||||||
clang/test/Driver/ve-toolchain.c | 2 +-
|
|
||||||
clang/test/Driver/ve-toolchain.cpp | 2 +-
|
|
||||||
6 files changed, 10 insertions(+), 10 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/clang/test/CodeGen/dwarf-version.c b/clang/test/CodeGen/dwarf-version.c
|
|
||||||
index e63316ace69c..3d68b06c58ff 100644
|
|
||||||
--- a/clang/test/CodeGen/dwarf-version.c
|
|
||||||
+++ b/clang/test/CodeGen/dwarf-version.c
|
|
||||||
@@ -2,10 +2,10 @@
|
|
||||||
// RUN: %clang -target x86_64-linux-gnu -gdwarf-3 -S -emit-llvm -o - %s | FileCheck %s --check-prefix=VER3
|
|
||||||
// RUN: %clang -target x86_64-linux-gnu -gdwarf-4 -S -emit-llvm -o - %s | FileCheck %s --check-prefix=VER4
|
|
||||||
// RUN: %clang -target x86_64-linux-gnu -gdwarf-5 -S -emit-llvm -o - %s | FileCheck %s --check-prefix=VER5
|
|
||||||
-// RUN: %clang -target x86_64-linux-gnu -g -S -emit-llvm -o - %s | FileCheck %s --check-prefix=VER5
|
|
||||||
-// RUN: %clang -target x86_64-linux-gnu -gdwarf -S -emit-llvm -o - %s | FileCheck %s --check-prefix=VER5
|
|
||||||
-// RUN: %clang --target=i386-pc-solaris -g -S -emit-llvm -o - %s | FileCheck %s --check-prefix=VER5
|
|
||||||
-// RUN: %clang --target=i386-pc-solaris -gdwarf -S -emit-llvm -o - %s | FileCheck %s --check-prefix=VER5
|
|
||||||
+// RUN: %clang -target x86_64-linux-gnu -g -S -emit-llvm -o - %s | FileCheck %s --check-prefix=VER4
|
|
||||||
+// RUN: %clang -target x86_64-linux-gnu -gdwarf -S -emit-llvm -o - %s | FileCheck %s --check-prefix=VER4
|
|
||||||
+// RUN: %clang --target=i386-pc-solaris -g -S -emit-llvm -o - %s | FileCheck %s --check-prefix=VER4
|
|
||||||
+// RUN: %clang --target=i386-pc-solaris -gdwarf -S -emit-llvm -o - %s | FileCheck %s --check-prefix=VER4
|
|
||||||
|
|
||||||
// The -isysroot is used as a hack to avoid LIT messing with the SDKROOT
|
|
||||||
// environment variable which indirecty overrides the version in the target
|
|
||||||
diff --git a/clang/test/Driver/as-options.s b/clang/test/Driver/as-options.s
|
|
||||||
index 73d002c7ef7e..71d55f7fd537 100644
|
|
||||||
--- a/clang/test/Driver/as-options.s
|
|
||||||
+++ b/clang/test/Driver/as-options.s
|
|
||||||
@@ -122,7 +122,7 @@
|
|
||||||
// RUN: FileCheck --check-prefix=DEBUG %s
|
|
||||||
// RUN: %clang --target=aarch64-linux-gnu -fno-integrated-as -g0 -g %s -### 2>&1 | \
|
|
||||||
// RUN: FileCheck --check-prefix=DEBUG %s
|
|
||||||
-// DEBUG: "-g" "-gdwarf-5"
|
|
||||||
+// DEBUG: "-g" "-gdwarf-4"
|
|
||||||
// RUN: %clang --target=aarch64-linux-gnu -fno-integrated-as -g -g0 %s -### 2>&1 | \
|
|
||||||
// RUN: FileCheck --check-prefix=NODEBUG %s
|
|
||||||
// RUN: %clang --target=aarch64-linux-gnu -fno-integrated-as -gdwarf-5 -g0 %s -### 2>&1 | \
|
|
||||||
@@ -141,7 +141,7 @@
|
|
||||||
// RUN: %clang --target=aarch64-linux-gnu -fno-integrated-as -gdwarf-2 %s -### 2>&1 | \
|
|
||||||
// RUN: FileCheck --check-prefix=GDWARF2 %s
|
|
||||||
// RUN: %clang --target=aarch64-linux-gnu -fno-integrated-as -gdwarf %s -### 2>&1 | \
|
|
||||||
-// RUN: FileCheck --check-prefix=GDWARF5 %s
|
|
||||||
+// RUN: FileCheck --check-prefix=GDWARF4 %s
|
|
||||||
|
|
||||||
// RUN: %clang --target=aarch64-linux-gnu -fno-integrated-as -gdwarf-5 %s -### 2>&1 | \
|
|
||||||
// RUN: FileCheck --check-prefix=GDWARF5 %s
|
|
||||||
diff --git a/clang/test/Driver/cl-options.c b/clang/test/Driver/cl-options.c
|
|
||||||
index 6d929b19e7e2..373905c2e0fc 100644
|
|
||||||
--- a/clang/test/Driver/cl-options.c
|
|
||||||
+++ b/clang/test/Driver/cl-options.c
|
|
||||||
@@ -569,7 +569,7 @@
|
|
||||||
// RUN: %clang_cl -gdwarf /Z7 /c -### -- %s 2>&1 | FileCheck -check-prefix=Z7_gdwarf %s
|
|
||||||
// Z7_gdwarf-NOT: "-gcodeview"
|
|
||||||
// Z7_gdwarf: "-debug-info-kind=constructor"
|
|
||||||
-// Z7_gdwarf: "-dwarf-version=
|
|
||||||
+// Z7_gdwarf: "-dwarf-version=4
|
|
||||||
|
|
||||||
// RUN: %clang_cl /ZH:MD5 /c -### -- %s 2>&1 | FileCheck -check-prefix=ZH_MD5 %s
|
|
||||||
// ZH_MD5: "-gsrc-hash=md5"
|
|
||||||
diff --git a/clang/test/Driver/clang-g-opts.c b/clang/test/Driver/clang-g-opts.c
|
|
||||||
index b1cdf411925a..082162f2cc30 100644
|
|
||||||
--- a/clang/test/Driver/clang-g-opts.c
|
|
||||||
+++ b/clang/test/Driver/clang-g-opts.c
|
|
||||||
@@ -36,7 +36,7 @@
|
|
||||||
|
|
||||||
// CHECK-WITHOUT-G-NOT: -debug-info-kind
|
|
||||||
// CHECK-WITH-G: "-debug-info-kind=constructor"
|
|
||||||
-// CHECK-WITH-G: "-dwarf-version=5"
|
|
||||||
+// CHECK-WITH-G: "-dwarf-version=4"
|
|
||||||
// CHECK-WITH-G-DWARF4: "-dwarf-version=4"
|
|
||||||
// CHECK-WITH-G-DWARF2: "-dwarf-version=2"
|
|
||||||
|
|
||||||
diff --git a/clang/test/Driver/ve-toolchain.c b/clang/test/Driver/ve-toolchain.c
|
|
||||||
index 078341eb1202..6ccbef6a0c36 100644
|
|
||||||
--- a/clang/test/Driver/ve-toolchain.c
|
|
||||||
+++ b/clang/test/Driver/ve-toolchain.c
|
|
||||||
@@ -6,7 +6,7 @@
|
|
||||||
/// Checking dwarf-version
|
|
||||||
|
|
||||||
// RUN: %clang -### -g --target=ve %s 2>&1 | FileCheck -check-prefix=DWARF_VER %s
|
|
||||||
-// DWARF_VER: "-dwarf-version=5"
|
|
||||||
+// DWARF_VER: "-dwarf-version=4"
|
|
||||||
|
|
||||||
///-----------------------------------------------------------------------------
|
|
||||||
/// Checking include-path
|
|
||||||
diff --git a/clang/test/Driver/ve-toolchain.cpp b/clang/test/Driver/ve-toolchain.cpp
|
|
||||||
index cd48dd792f85..f77781d4c6fa 100644
|
|
||||||
--- a/clang/test/Driver/ve-toolchain.cpp
|
|
||||||
+++ b/clang/test/Driver/ve-toolchain.cpp
|
|
||||||
@@ -7,7 +7,7 @@
|
|
||||||
|
|
||||||
// RUN: %clangxx -### -g --target=ve-unknown-linux-gnu \
|
|
||||||
// RUN: %s 2>&1 | FileCheck -check-prefix=DWARF_VER %s
|
|
||||||
-// DWARF_VER: "-dwarf-version=5"
|
|
||||||
+// DWARF_VER: "-dwarf-version=4"
|
|
||||||
|
|
||||||
///-----------------------------------------------------------------------------
|
|
||||||
/// Checking include-path
|
|
||||||
--
|
|
||||||
2.41.0
|
|
||||||
|
|
Loading…
Reference in a new issue