Merge branch 'snapshot' of salsa.debian.org:pkg-llvm-team/llvm-toolchain into snapshot

This commit is contained in:
Sylvestre Ledru 2019-08-15 09:52:30 +02:00
commit 11c2290c27
3 changed files with 38 additions and 0 deletions

22
debian/changelog vendored
View File

@ -1,3 +1,10 @@
llvm-toolchain-snapshot (1:10~svn368740-1~exp2) experimental; urgency=medium
* Workaround bug https://bugs.llvm.org/show_bug.cgi?id=42994
(fails to link on Debian buster)
-- Sylvestre Ledru <sylvestre@debian.org> Wed, 14 Aug 2019 13:21:54 +0200
llvm-toolchain-snapshot (1:10~svn368740-1~exp1) experimental; urgency=medium
[ Gianfranco Costamagna ]
@ -20,6 +27,21 @@ llvm-toolchain-snapshot (1:10~svn368740-1~exp1) experimental; urgency=medium
-- Sylvestre Ledru <sylvestre@debian.org> Tue, 13 Aug 2019 21:37:46 +0200
llvm-toolchain-snapshot (1:10~svn368706-1~exp1) experimental; urgency=medium
[ Sylvestre Ledru ]
* lldb-mi removed
[ Gianfranco Costamagna ]
* clangd: fix missing epoch in breaks/replaces relationship
* testsuite, add python, used in some test
* Cherry-pick various fixes from branch 8 and 9, do not break anymore with libllvm3.9v4
[ Sylvestre Ledru ]
* New snapshot release
-- Sylvestre Ledru <sylvestre@debian.org> Tue, 13 Aug 2019 17:55:41 +0200
llvm-toolchain-snapshot (1:10~svn366440-1~exp1) experimental; urgency=medium
* New version in snapshot (10)

View File

@ -127,3 +127,6 @@ bootstrap-fix-include-next.diff
# riscv64
clang-riscv64-multiarch.diff
# Compiler-rt - workaround
workaround-bug-42994-use-linker.diff

View File

@ -0,0 +1,13 @@
Index: llvm-toolchain-snapshot-10~svn368743/projects/compiler-rt/lib/hwasan/CMakeLists.txt
===================================================================
--- llvm-toolchain-snapshot-10~svn368743.orig/projects/compiler-rt/lib/hwasan/CMakeLists.txt
+++ llvm-toolchain-snapshot-10~svn368743/projects/compiler-rt/lib/hwasan/CMakeLists.txt
@@ -40,7 +40,7 @@ append_list_if(COMPILER_RT_HWASAN_WITH_I
set(HWASAN_RTL_CFLAGS ${SANITIZER_COMMON_CFLAGS})
append_rtti_flag(OFF HWASAN_RTL_CFLAGS)
-append_list_if(COMPILER_RT_HAS_FPIC_FLAG -fPIC HWASAN_RTL_CFLAGS)
+append_list_if(COMPILER_RT_HAS_FPIC_FLAG -fPIC -fuse-ld=gold HWASAN_RTL_CFLAGS)
# Prevent clang from generating libc calls.
append_list_if(COMPILER_RT_HAS_FFREESTANDING_FLAG -ffreestanding HWASAN_RTL_CFLAGS)