llvm-toolchain-19.git
14 months agolibcxxabi-arm-ehabi-fix
LLVM Packaging Team [Mon, 23 Sep 2024 11:23:31 +0000 (13:23 +0200)]
libcxxabi-arm-ehabi-fix

Fix arm EHABI code to work. armhf had exception test failing without EHABI support.

No known upstream bug about this. Actual code change is more like workaround than
something that upstream would accept. Proper fix would be adding _Unwind_Control_Block
to clang unwind.h. _Unwind_Control_Block should also extend _Unwind_Exception to make
sure their ABI stays in sync.

No known upstream bug about this.

Gbp-Pq: Topic libcxx
Gbp-Pq: Name libcxxabi-arm-ehabi-fix.patch

14 months agolibcxx-test-fix-lockfree-test-for-i386
LLVM Packaging Team [Mon, 23 Sep 2024 11:23:31 +0000 (13:23 +0200)]
libcxx-test-fix-lockfree-test-for-i386

Lock is_always_lock free test fails on i386 because std::atomic is aligned

Lock is_always_lock free test fails on i386 because std::atomic is aligned
to 8 bytes while long long is aligned to 4 bytes. clang can't generate inline
code for unaligned 8 byte atomics even tough instruction set and gcc support
it.

That makes it expected thaqt ATOMIC_LLONG_LOCK_FREE and
std::atomic<long long>::is_always_lock_free don't match on i386. Correct test
for std::atomic<long long> is to check if target cpu support cmpxchg8 instruction.
To set instruction support one can check __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8 define.

Bug: https://llvm.org/bugs/show_bug.cgi?id=19355

Gbp-Pq: Topic libcxx
Gbp-Pq: Name libcxx-test-fix-lockfree-test-for-i386.patch

14 months agolibcxxabi-test-don-t-fail-extended-long-double
LLVM Packaging Team [Mon, 23 Sep 2024 11:23:31 +0000 (13:23 +0200)]
libcxxabi-test-don-t-fail-extended-long-double

Powerpc has extended double that doesn't match x86 coding. Power format would
need special tests to verify correctness but for now it is enough to prevent
incorrect test from running.

Gbp-Pq: Topic libcxx
Gbp-Pq: Name libcxxabi-test-don-t-fail-extended-long-double.patch

14 months agoopenmp-check-execstack
LLVM Packaging Team [Mon, 23 Sep 2024 11:23:31 +0000 (13:23 +0200)]
openmp-check-execstack

===================================================================

Gbp-Pq: Topic openmp
Gbp-Pq: Name openmp-check-execstack.diff

14 months agodisable-error-xray
LLVM Packaging Team [Mon, 23 Sep 2024 11:23:31 +0000 (13:23 +0200)]
disable-error-xray

===================================================================

Gbp-Pq: Name disable-error-xray.diff

14 months agolldb-missing-install
LLVM Packaging Team [Mon, 23 Sep 2024 11:23:31 +0000 (13:23 +0200)]
lldb-missing-install

===================================================================

Gbp-Pq: Topic lldb
Gbp-Pq: Name lldb-missing-install.diff

14 months agolldb-addversion-suffix-to-llvm-server-exec
LLVM Packaging Team [Mon, 23 Sep 2024 11:23:31 +0000 (13:23 +0200)]
lldb-addversion-suffix-to-llvm-server-exec

lldb-server exec users always /usr/bin/lldb-server. Server is required
for any debugging with lldb which makes it unusable unless default version
package has been installed. Small changes to code and debian/rules allows
a workaround for lldb-server start up.

To use this one needs to add cmake definition during configure. eg
-DDEBIAN_VERSION_SUFFIX=-$(LLVM_VERSION)

Better implementation would be to use /usr/share/llvm-$(VERSION)/bin but
that change seems to require a big change to the path handling code
which could then break something else.

This probably should have upstream bug but I couldn't find any existing report.

Gbp-Pq: Topic lldb
Gbp-Pq: Name lldb-addversion-suffix-to-llvm-server-exec.patch

14 months agofix-scan-view-path
LLVM Packaging Team [Mon, 23 Sep 2024 11:23:31 +0000 (13:23 +0200)]
fix-scan-view-path

===================================================================

Gbp-Pq: Name fix-scan-view-path.diff

14 months agoscan-view-fix-path
LLVM Packaging Team [Mon, 23 Sep 2024 11:23:31 +0000 (13:23 +0200)]
scan-view-fix-path

===================================================================

Gbp-Pq: Name scan-view-fix-path.diff

14 months agoscan-build-clang-path
LLVM Packaging Team [Mon, 23 Sep 2024 11:23:31 +0000 (13:23 +0200)]
scan-build-clang-path

Gbp-Pq: Name scan-build-clang-path.diff

14 months agotest-keep-alive
LLVM Packaging Team [Mon, 23 Sep 2024 11:23:31 +0000 (13:23 +0200)]
test-keep-alive

===================================================================

Gbp-Pq: Name test-keep-alive.diff

14 months agodisable-path-test-failing
LLVM Packaging Team [Mon, 23 Sep 2024 11:23:31 +0000 (13:23 +0200)]
disable-path-test-failing

===================================================================

Gbp-Pq: Name disable-path-test-failing.diff

14 months agoSilent a test failing on yakkety amd64
Sylvestre [Mon, 23 Sep 2024 11:23:31 +0000 (13:23 +0200)]
Silent a test failing on yakkety amd64

Last-Update: 2016-08-26

/tmp/buildd/llvm-toolchain-snapshot-4.0~svn279801/llvm/test/tools/llvm-symbolizer/print_context.c:16:11: error: expected string not found in input
// CHECK: inc
         ^
<stdin>:1:1: note: scanning from here
_fini
^
<stdin>:1:3: note: possible intended match here
_fini
 ^

Gbp-Pq: Name disable-llvm-symbolizer-test.diff

14 months agoremove-test-freezing
LLVM Packaging Team [Mon, 23 Sep 2024 11:23:31 +0000 (13:23 +0200)]
remove-test-freezing

===================================================================

Gbp-Pq: Name remove-test-freezing.diff

14 months agosilent-llvm-isel-fuzzer
LLVM Packaging Team [Mon, 23 Sep 2024 11:23:31 +0000 (13:23 +0200)]
silent-llvm-isel-fuzzer

===================================================================

Gbp-Pq: Name silent-llvm-isel-fuzzer.diff

14 months agosilent-test-macho
LLVM Packaging Team [Mon, 23 Sep 2024 11:23:31 +0000 (13:23 +0200)]
silent-test-macho

===================================================================

Gbp-Pq: Name silent-test-macho.diff

14 months agosilent-test-failing-codeverage
LLVM Packaging Team [Mon, 23 Sep 2024 11:23:31 +0000 (13:23 +0200)]
silent-test-failing-codeverage

===================================================================

Gbp-Pq: Name silent-test-failing-codeverage.diff

14 months agosilent-gold-utils
LLVM Packaging Team [Mon, 23 Sep 2024 11:23:31 +0000 (13:23 +0200)]
silent-gold-utils

Gbp-Pq: Name silent-gold-utils.diff

14 months agosilent-MCJIIT-tests
LLVM Packaging Team [Mon, 23 Sep 2024 11:23:31 +0000 (13:23 +0200)]
silent-MCJIIT-tests

Gbp-Pq: Name silent-MCJIIT-tests.diff

14 months agosilent-more-tests
LLVM Packaging Team [Mon, 23 Sep 2024 11:23:31 +0000 (13:23 +0200)]
silent-more-tests

# Comment the tests for the code coverage (fails otherwise)

Gbp-Pq: Name silent-more-tests.diff

14 months agofails on debian unstable amd64
LLVM Packaging Team [Mon, 23 Sep 2024 11:23:31 +0000 (13:23 +0200)]
fails on debian unstable amd64

Command Output (stderr):
--
/build/llvm-toolchain-snapshot-4.0~svn279916/llvm/test/tools/gold/X86/start-lib-common.ll:22:10: error: expected string not found in input
; CHECK: @x = common global i32 0, align 8
         ^
<stdin>:1:1: note: scanning from here
; ModuleID = '/build/llvm-toolchain-snapshot-4.0~svn279916/build-llvm/llvm/test/tools/gold/X86/Output/start-lib-common.ll.tmp3.o'
^
<stdin>:4:1: note: possible intended match here
@x = common global i32 0, align 4
^

Gbp-Pq: Name silent-gold-test.diff

14 months agoopenmp-soname
LLVM Packaging Team [Mon, 23 Sep 2024 11:23:31 +0000 (13:23 +0200)]
openmp-soname

===================================================================

Gbp-Pq: Name openmp-soname.diff

14 months agolldb-soname
LLVM Packaging Team [Mon, 23 Sep 2024 11:23:31 +0000 (13:23 +0200)]
lldb-soname

Gbp-Pq: Topic lldb
Gbp-Pq: Name lldb-soname.diff

14 months agosoname
LLVM Packaging Team [Mon, 23 Sep 2024 11:23:31 +0000 (13:23 +0200)]
soname

Gbp-Pq: Name 0044-soname.diff

14 months agodisable-display-PASS-UNSUPPORTED-XFAIL
LLVM Packaging Team [Mon, 23 Sep 2024 11:23:31 +0000 (13:23 +0200)]
disable-display-PASS-UNSUPPORTED-XFAIL

===================================================================

Gbp-Pq: Name disable-display-PASS-UNSUPPORTED-XFAIL.diff

14 months agodo-not-fail-on-unexpected-pass
LLVM Packaging Team [Mon, 23 Sep 2024 11:23:31 +0000 (13:23 +0200)]
do-not-fail-on-unexpected-pass

===================================================================

Gbp-Pq: Name do-not-fail-on-unexpected-pass.diff

14 months agodebug-jit-path
LLVM Packaging Team [Mon, 23 Sep 2024 11:23:31 +0000 (13:23 +0200)]
debug-jit-path

===================================================================

Gbp-Pq: Name debug-jit-path.diff

14 months ago[PATCH] [clang] cmake: resolve symlinks in ClangConfig.cmake
Peter Wu [Fri, 4 May 2018 13:55:26 +0000 (15:55 +0200)]
[PATCH] [clang] cmake: resolve symlinks in ClangConfig.cmake

Ensure that symlinks such as /usr/lib/cmake/clang-X.Y (pointing to
/usr/lib/llvm-X.Y/lib/cmake/llvm) are resolved. This ensures that
CLANG_INSTALL_PREFIX ends up to be /usr/lib/llvm-X.Y instead of /usr.

Partially addresses PR37128

Gbp-Pq: Name 0001-tools-clang-cmake-resolve-symlinks-in-ClangConfig.cmake.patch

14 months agoclang-tidy-run-bin
LLVM Packaging Team [Mon, 23 Sep 2024 11:23:31 +0000 (13:23 +0200)]
clang-tidy-run-bin

===================================================================

Gbp-Pq: Name clang-tidy-run-bin.diff

14 months agosymbolizer-path
LLVM Packaging Team [Mon, 23 Sep 2024 11:23:31 +0000 (13:23 +0200)]
symbolizer-path

===================================================================

Gbp-Pq: Name symbolizer-path.diff

14 months agoSet html_static_path = ['_static'] everywhere.
Nicholas D Steeves [Sun, 11 Feb 2018 02:00:55 +0000 (21:00 -0500)]
Set html_static_path = ['_static'] everywhere.

Gbp-Pq: Name 0048-Set-html_static_path-_static-everywhere.patch

14 months agofix-clang-path-and-build
LLVM Packaging Team [Mon, 23 Sep 2024 11:23:31 +0000 (13:23 +0200)]
fix-clang-path-and-build

===================================================================

Gbp-Pq: Name fix-clang-path-and-build.diff

14 months agopython-clangpath
LLVM Packaging Team [Mon, 23 Sep 2024 11:23:31 +0000 (13:23 +0200)]
python-clangpath

Gbp-Pq: Name python-clangpath.diff

14 months agounwind-chain-inclusion
LLVM Packaging Team [Mon, 23 Sep 2024 11:23:31 +0000 (13:23 +0200)]
unwind-chain-inclusion

# Without this patch, the first local include of unwind.h might, with the
# __has_include_next, try to include the one from the system.
# It might be /usr/include/clang/3.4/include/unwind.h
# Because of the #ifndef __CLANG_UNWIND_H, it might never include any declaration
# from the system.

Gbp-Pq: Name unwind-chain-inclusion.diff

14 months agodeclare_clear_cache
LLVM Packaging Team [Mon, 23 Sep 2024 11:23:31 +0000 (13:23 +0200)]
declare_clear_cache

Gbp-Pq: Name declare_clear_cache.diff

14 months agostrlcpy_strlcat_warning_removed
LLVM Packaging Team [Mon, 23 Sep 2024 11:23:31 +0000 (13:23 +0200)]
strlcpy_strlcat_warning_removed

Gbp-Pq: Name 23-strlcpy_strlcat_warning_removed.diff

14 months agoclang-analyzer-force-version
LLVM Packaging Team [Mon, 23 Sep 2024 11:23:31 +0000 (13:23 +0200)]
clang-analyzer-force-version

# Force the version of clang in the analyzer
# This was causing the static analyzer to fail silently if the clang & clang++ are
# not installed

Gbp-Pq: Name clang-analyzer-force-version.diff

14 months agoclang-format-version
LLVM Packaging Team [Mon, 23 Sep 2024 11:23:31 +0000 (13:23 +0200)]
clang-format-version

Gbp-Pq: Name clang-format-version.diff

14 months agollvm-toolchain-18 (1:18.1.8-12) unstable; urgency=medium
Sylvestre Ledru [Mon, 23 Sep 2024 11:23:31 +0000 (13:23 +0200)]
llvm-toolchain-18 (1:18.1.8-12) unstable; urgency=medium

  * Ensure that at least 1 CPU is used for build
    Thanks to Santiago Vila for the patch
    (Closes: #1082359)
  * Don't enable intel-pt on Ubuntu Bionic
  * Backport a miscompilation fix (Closes: #1082727)
  * Fix the bootstrapping (Closes: #1082610)
    Thanks to Andrey Feofilaktov for the patch
  * clang provides objc++-compiler (Closes: #1082744)
  * Update Standards version to 4.7.0

[dgit import unpatched llvm-toolchain-18 1:18.1.8-12]

14 months agoImport llvm-toolchain-18_18.1.8-12.debian.tar.xz
Sylvestre Ledru [Mon, 23 Sep 2024 11:23:31 +0000 (13:23 +0200)]
Import llvm-toolchain-18_18.1.8-12.debian.tar.xz

[dgit import tarball llvm-toolchain-18 1:18.1.8-12 llvm-toolchain-18_18.1.8-12.debian.tar.xz]

17 months agoImport llvm-toolchain-18_18.1.8.orig.tar.xz
Sylvestre Ledru [Sun, 7 Jul 2024 20:01:17 +0000 (22:01 +0200)]
Import llvm-toolchain-18_18.1.8.orig.tar.xz

[dgit import orig llvm-toolchain-18_18.1.8.orig.tar.xz]