[prev in list] [next in list] [prev in thread] [next in thread] 

List:       opensuse-commit
Subject:    commit llvm9 for openSUSE:Factory
From:       root <root () suse ! de>
Date:       2020-09-30 17:54:46
Message-ID: 20200930175446.48A139B883 () Hilbert ! suse ! de
[Download RAW message or body]

Hello community,

here is the log from the commit of package llvm9 for openSUSE:Factory checked in at \
2020-09-30 19:54:34 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 Comparing /work/SRC/openSUSE:Factory/llvm9 (Old)
 and      /work/SRC/openSUSE:Factory/.llvm9.new.4249 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "llvm9"

Wed Sep 30 19:54:34 2020 rev:17 rq:838612 version:9.0.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/llvm9/llvm9.changes	2020-09-03 01:16:19.708518526 \
                +0200
+++ /work/SRC/openSUSE:Factory/.llvm9.new.4249/llvm9.changes	2020-09-30 \
19:54:44.440803445 +0200 @@ -1,0 +2,6 @@
+Mon Sep 28 20:55:52 UTC 2020 - Tom de Vries <tdevries@suse.com>
+
+- Fix dsymutil crash on ELF file. (bsc#1176964)
+  * llvm-fix-a-copy-and-paste-error-that-would-cause-a-crash.patch
+
+-------------------------------------------------------------------

New:
----
  llvm-fix-a-copy-and-paste-error-that-would-cause-a-crash.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ llvm9.spec ++++++
--- /var/tmp/diff_new_pack.m78xKr/_old	2020-09-30 19:54:46.064804897 +0200
+++ /var/tmp/diff_new_pack.m78xKr/_new	2020-09-30 19:54:46.068804901 +0200
@@ -133,6 +133,8 @@
 Patch37:        compiler-rt-sanitizer-ipc-perm.patch
 # PATCH-FIX-UPSTREAM fix-ppcle64-build.patch -- Fix ppcle64 build with newer GCC
 Patch38:        fix-ppcle64-build.patch
+# PATCH-FIX-UPSTREAM llvm-fix-a-copy-and-paste-error-that-would-cause-a-crash.patch \
-- Fix dsymutil crash on ELF file. +Patch39:        \
llvm-fix-a-copy-and-paste-error-that-would-cause-a-crash.patch  BuildRequires:  \
binutils-devel >= 2.21.90  BuildRequires:  ccache
 BuildRequires:  cmake
@@ -566,6 +568,7 @@
 %patch33 -p1
 %patch34 -p1
 %patch35 -p1
+%patch39 -p2
 
 pushd compiler-rt-%{version}.src
 %patch28 -p2

++++++ llvm-fix-a-copy-and-paste-error-that-would-cause-a-crash.patch ++++++
Fix a copy and paste error that would cause a crash.

Summary: The wrong variable was being checked for an error, which mean a llvm::Error \
went unchecked and crashes dsymutil. Discovered this when trying to feed an ELF file \
to "dsymutil --update" and running into the crash.

Reviewers: aprantl, JDevlieghere

Subscribers: llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D75777

---
 llvm/tools/dsymutil/MachODebugMapParser.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/llvm/tools/dsymutil/MachODebugMapParser.cpp \
b/llvm/tools/dsymutil/MachODebugMapParser.cpp index 83703fb13f0a..a9d6c876860c 100644
--- a/llvm/tools/dsymutil/MachODebugMapParser.cpp
+++ b/llvm/tools/dsymutil/MachODebugMapParser.cpp
@@ -383,7 +383,7 @@ ErrorOr<std::vector<std::unique_ptr<DebugMap>>> \
MachODebugMapParser::parse() {  
   auto Objects = ObjectEntry->getObjectsAs<MachOObjectFile>();
   if (!Objects) {
-    return errorToErrorCode(ObjectEntry.takeError());
+    return errorToErrorCode(Objects.takeError());
   }
 
   std::vector<std::unique_ptr<DebugMap>> Results;


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic