llvm-toolchain-19.git
9 months agoUse Debian-provided MathJax everywhere.
Nicholas D Steeves [Sun, 11 Feb 2018 02:02:17 +0000 (21:02 -0500)]
Use Debian-provided MathJax everywhere.

Gbp-Pq: Name 0049-Use-Debian-provided-MathJax-everywhere.patch

9 months agoremove-apple-clang-manpage
LLVM Packaging Team [Fri, 14 Mar 2025 09:48:31 +0000 (10:48 +0100)]
remove-apple-clang-manpage

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

Gbp-Pq: Name remove-apple-clang-manpage.diff

9 months agoclangd-atomic-cmake
LLVM Packaging Team [Fri, 14 Mar 2025 09:48:31 +0000 (10:48 +0100)]
clangd-atomic-cmake

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

Gbp-Pq: Name clangd-atomic-cmake.patch

9 months agoclang-arm-default-vfp3-on-armv7a
LLVM Packaging Team [Fri, 14 Mar 2025 09:48:31 +0000 (10:48 +0100)]
clang-arm-default-vfp3-on-armv7a

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

Gbp-Pq: Name clang-arm-default-vfp3-on-armv7a.patch

9 months agodisable-sse2-old-x86
LLVM Packaging Team [Fri, 14 Mar 2025 09:48:31 +0000 (10:48 +0100)]
disable-sse2-old-x86

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

Gbp-Pq: Name disable-sse2-old-x86.diff

9 months agoclang-baseline-fix-i386
LLVM Packaging Team [Fri, 14 Mar 2025 09:48:31 +0000 (10:48 +0100)]
clang-baseline-fix-i386

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

Gbp-Pq: Name clang-baseline-fix-i386.patch

9 months agoset correct float abi settings for armel and armhf
Peter Michael Green [Fri, 14 Mar 2025 09:48:31 +0000 (10:48 +0100)]
set correct float abi settings for armel and armhf

debian armel supports systems that don't have a fpu so should use a "float abi"
setting of soft by default.

Debian armhf needs a float abi setting of "hard"

Gbp-Pq: Name 26-set-correct-float-abi.diff

9 months agosyscall-mips64el-def
LLVM Packaging Team [Fri, 14 Mar 2025 09:48:31 +0000 (10:48 +0100)]
syscall-mips64el-def

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

Gbp-Pq: Topic mips
Gbp-Pq: Name syscall-mips64el-def.diff

9 months ago[PATCH] [MC][ELF] Work around R_MIPS_LO16 relocation handling problem
Dimitry Andric [Mon, 3 May 2021 18:08:49 +0000 (20:08 +0200)]
[PATCH] [MC][ELF] Work around R_MIPS_LO16 relocation handling problem

This fixes PR49821, and avoids "ld.lld: error: test.o:(.rodata.str1.1):
offset is outside the section" errors when linking MIPS objects with
negative R_MIPS_LO16 implicit addends.

ld.lld handles R_MIPS_HI16/R_MIPS_LO16 separately, not as a whole, so it
doesn't know that an R_MIPS_HI16 with implicit addend 1 and an
R_MIPS_LO16 with implicit addend -32768 represents 32768, which is in
range of a MergeInputSection. We could introduce a new RelExpr member
(like R_RISCV_PC_INDIRECT for R_RISCV_PCREL_HI20 / R_RISCV_PCREL_LO12)
but the complexity is unnecessary given that GNU as keeps the original
symbol for this case as well.

Reviewed By: atanasyan, MaskRay

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

Gbp-Pq: Topic mips
Gbp-Pq: Name mips-D101773-reloc.patch

9 months agomips-force-nomadd4
LLVM Packaging Team [Fri, 14 Mar 2025 09:48:31 +0000 (10:48 +0100)]
mips-force-nomadd4

The MIPS port aims to support the Loongson 3 family of CPUs in addition
of the other MIPS CPUs. On the Loongson 3 family the MADD4 instructions
are fused, while they are not fused on the other MIPS CPUs. In order to
support both, we have to disabled those instructions.

For that, the patch below basically corresponds to the --with-madd4=no
used on the GCC side.

Gbp-Pq: Topic mips
Gbp-Pq: Name mips-force-nomadd4.patch

9 months agomips-fpxx-enable
LLVM Packaging Team [Fri, 14 Mar 2025 09:48:31 +0000 (10:48 +0100)]
mips-fpxx-enable

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

Gbp-Pq: Topic mips
Gbp-Pq: Name mips-fpxx-enable.diff

9 months agolibcxx-armhf-ftbfs
LLVM Packaging Team [Fri, 14 Mar 2025 09:48:31 +0000 (10:48 +0100)]
libcxx-armhf-ftbfs

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

Gbp-Pq: Topic libcxx
Gbp-Pq: Name libcxx-armhf-ftbfs.diff

9 months agolibcxxabi-fix-link-builtins
LLVM Packaging Team [Fri, 14 Mar 2025 09:48:31 +0000 (10:48 +0100)]
libcxxabi-fix-link-builtins

if LIBCXXABI_USE_COMPILER_RT=ON, add builtins to libcxxabi library
flags, otherwise add libgcc following how libunwind does the same

Gbp-Pq: Topic libcxx
Gbp-Pq: Name libcxxabi-fix-link-builtins.diff

9 months agolibcxx-libatomic-only-with-gcc-rtlib
LLVM Packaging Team [Fri, 14 Mar 2025 09:48:31 +0000 (10:48 +0100)]
libcxx-libatomic-only-with-gcc-rtlib

if libatomic is found only link it if libgcc is the rtlib

Gbp-Pq: Topic libcxx
Gbp-Pq: Name libcxx-libatomic-only-with-gcc-rtlib.diff

9 months agolibcxx-silent-failure-arm64
LLVM Packaging Team [Fri, 14 Mar 2025 09:48:31 +0000 (10:48 +0100)]
libcxx-silent-failure-arm64

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

Gbp-Pq: Topic libcxx
Gbp-Pq: Name libcxx-silent-failure-arm64.diff

9 months agolibcxx-silent-failure-ppc64el
LLVM Packaging Team [Fri, 14 Mar 2025 09:48:31 +0000 (10:48 +0100)]
libcxx-silent-failure-ppc64el

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

Gbp-Pq: Topic libcxx
Gbp-Pq: Name libcxx-silent-failure-ppc64el.diff

9 months agolibcxx-silent-test-libcxx
LLVM Packaging Team [Fri, 14 Mar 2025 09:48:31 +0000 (10:48 +0100)]
libcxx-silent-test-libcxx

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

Gbp-Pq: Topic libcxx
Gbp-Pq: Name libcxx-silent-test-libcxx.diff

9 months agolibcxxabi-arm-ehabi-fix
LLVM Packaging Team [Fri, 14 Mar 2025 09:48:31 +0000 (10:48 +0100)]
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

9 months agolibcxx-test-fix-lockfree-test-for-i386
LLVM Packaging Team [Fri, 14 Mar 2025 09:48:31 +0000 (10:48 +0100)]
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

9 months agolibcxxabi-test-don-t-fail-extended-long-double
LLVM Packaging Team [Fri, 14 Mar 2025 09:48:31 +0000 (10:48 +0100)]
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

9 months agoopenmp-check-execstack
LLVM Packaging Team [Fri, 14 Mar 2025 09:48:31 +0000 (10:48 +0100)]
openmp-check-execstack

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

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

9 months agodisable-error-xray
LLVM Packaging Team [Fri, 14 Mar 2025 09:48:31 +0000 (10:48 +0100)]
disable-error-xray

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

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

9 months agolldb-missing-install
LLVM Packaging Team [Fri, 14 Mar 2025 09:48:31 +0000 (10:48 +0100)]
lldb-missing-install

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

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

9 months agolldb-addversion-suffix-to-llvm-server-exec
LLVM Packaging Team [Fri, 14 Mar 2025 09:48:31 +0000 (10:48 +0100)]
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

9 months agofix-scan-view-path
LLVM Packaging Team [Fri, 14 Mar 2025 09:48:31 +0000 (10:48 +0100)]
fix-scan-view-path

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

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

9 months agoscan-view-fix-path
LLVM Packaging Team [Fri, 14 Mar 2025 09:48:31 +0000 (10:48 +0100)]
scan-view-fix-path

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

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

9 months agoscan-build-clang-path
LLVM Packaging Team [Fri, 14 Mar 2025 09:48:31 +0000 (10:48 +0100)]
scan-build-clang-path

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

9 months agotest-keep-alive
LLVM Packaging Team [Fri, 14 Mar 2025 09:48:31 +0000 (10:48 +0100)]
test-keep-alive

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

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

9 months agodisable-path-test-failing
LLVM Packaging Team [Fri, 14 Mar 2025 09:48:31 +0000 (10:48 +0100)]
disable-path-test-failing

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

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

9 months agoSilent a test failing on yakkety amd64
Sylvestre [Fri, 14 Mar 2025 09:48:31 +0000 (10:48 +0100)]
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

9 months agoremove-test-freezing
LLVM Packaging Team [Fri, 14 Mar 2025 09:48:31 +0000 (10:48 +0100)]
remove-test-freezing

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

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

9 months agosilent-llvm-isel-fuzzer
LLVM Packaging Team [Fri, 14 Mar 2025 09:48:31 +0000 (10:48 +0100)]
silent-llvm-isel-fuzzer

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

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

9 months agosilent-test-macho
LLVM Packaging Team [Fri, 14 Mar 2025 09:48:31 +0000 (10:48 +0100)]
silent-test-macho

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

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

9 months agosilent-test-failing-codeverage
LLVM Packaging Team [Fri, 14 Mar 2025 09:48:31 +0000 (10:48 +0100)]
silent-test-failing-codeverage

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

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

9 months agosilent-gold-utils
LLVM Packaging Team [Fri, 14 Mar 2025 09:48:31 +0000 (10:48 +0100)]
silent-gold-utils

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

9 months agosilent-MCJIIT-tests
LLVM Packaging Team [Fri, 14 Mar 2025 09:48:31 +0000 (10:48 +0100)]
silent-MCJIIT-tests

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

9 months agosilent-more-tests
LLVM Packaging Team [Fri, 14 Mar 2025 09:48:31 +0000 (10:48 +0100)]
silent-more-tests

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

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

9 months agofails on debian unstable amd64
LLVM Packaging Team [Fri, 14 Mar 2025 09:48:31 +0000 (10:48 +0100)]
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

9 months agoopenmp-soname
LLVM Packaging Team [Fri, 14 Mar 2025 09:48:31 +0000 (10:48 +0100)]
openmp-soname

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

Gbp-Pq: Name openmp-soname.diff

9 months agolldb-soname
LLVM Packaging Team [Fri, 14 Mar 2025 09:48:31 +0000 (10:48 +0100)]
lldb-soname

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

9 months agosoname
LLVM Packaging Team [Fri, 14 Mar 2025 09:48:31 +0000 (10:48 +0100)]
soname

Gbp-Pq: Name 0044-soname.diff

9 months agodo-not-fail-on-unexpected-pass
LLVM Packaging Team [Fri, 14 Mar 2025 09:48:31 +0000 (10:48 +0100)]
do-not-fail-on-unexpected-pass

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

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

9 months agodebug-jit-path
LLVM Packaging Team [Fri, 14 Mar 2025 09:48:31 +0000 (10:48 +0100)]
debug-jit-path

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

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

9 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

9 months agoclang-tidy-run-bin
LLVM Packaging Team [Fri, 14 Mar 2025 09:48:31 +0000 (10:48 +0100)]
clang-tidy-run-bin

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

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

9 months agosymbolizer-path
LLVM Packaging Team [Fri, 14 Mar 2025 09:48:31 +0000 (10:48 +0100)]
symbolizer-path

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

Gbp-Pq: Name symbolizer-path.diff

9 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

9 months agofix-clang-path-and-build
LLVM Packaging Team [Fri, 14 Mar 2025 09:48:31 +0000 (10:48 +0100)]
fix-clang-path-and-build

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

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

9 months agopython-clangpath
LLVM Packaging Team [Fri, 14 Mar 2025 09:48:31 +0000 (10:48 +0100)]
python-clangpath

Gbp-Pq: Name python-clangpath.diff

9 months agounwind-chain-inclusion
LLVM Packaging Team [Fri, 14 Mar 2025 09:48:31 +0000 (10:48 +0100)]
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

9 months agodeclare_clear_cache
LLVM Packaging Team [Fri, 14 Mar 2025 09:48:31 +0000 (10:48 +0100)]
declare_clear_cache

Gbp-Pq: Name declare_clear_cache.diff

9 months agostrlcpy_strlcat_warning_removed
LLVM Packaging Team [Fri, 14 Mar 2025 09:48:31 +0000 (10:48 +0100)]
strlcpy_strlcat_warning_removed

Gbp-Pq: Name 23-strlcpy_strlcat_warning_removed.diff

9 months agoclang-analyzer-force-version
LLVM Packaging Team [Fri, 14 Mar 2025 09:48:31 +0000 (10:48 +0100)]
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

9 months agoclang-format-version
LLVM Packaging Team [Fri, 14 Mar 2025 09:48:31 +0000 (10:48 +0100)]
clang-format-version

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

9 months agollvm-toolchain-19 (1:19.1.7-3) unstable; urgency=medium
Sylvestre Ledru [Fri, 14 Mar 2025 09:48:31 +0000 (10:48 +0100)]
llvm-toolchain-19 (1:19.1.7-3) unstable; urgency=medium

  * conditionalize the binutils-gold build-dep

[dgit import unpatched llvm-toolchain-19 1:19.1.7-3]

9 months agoImport llvm-toolchain-19_19.1.7-3.debian.tar.xz
Sylvestre Ledru [Fri, 14 Mar 2025 09:48:31 +0000 (10:48 +0100)]
Import llvm-toolchain-19_19.1.7-3.debian.tar.xz

[dgit import tarball llvm-toolchain-19 1:19.1.7-3 llvm-toolchain-19_19.1.7-3.debian.tar.xz]

11 months agoImport llvm-toolchain-19_19.1.7.orig.tar.xz
Sylvestre Ledru [Tue, 14 Jan 2025 13:16:47 +0000 (14:16 +0100)]
Import llvm-toolchain-19_19.1.7.orig.tar.xz

[dgit import orig llvm-toolchain-19_19.1.7.orig.tar.xz]