Package: llvm-toolchain-6.0 / 1:6.0.1-10

Metadata

Package Version Patches format
llvm-toolchain-6.0 1:6.0.1-10 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
19 clang_debian_version.patch | (download)

clang/lib/Basic/Version.cpp | 3 2 + 1 - 0 !
1 file changed, 2 insertions(+), 1 deletion(-)

---
23 strlcpy_strlcat_warning_removed.diff | (download)

clang/include/clang/Basic/Builtins.def | 8 4 + 4 - 0 !
clang/lib/AST/Decl.cpp | 12 6 + 6 - 0 !
clang/lib/Sema/SemaChecking.cpp | 11 6 + 5 - 0 !
clang/lib/StaticAnalyzer/Checkers/GenericTaintChecker.cpp | 6 3 + 3 - 0 !
clang/test/Sema/builtins.c | 11 6 + 5 - 0 !
clang/test/Sema/warn-strlcpycat-size.c | 55 0 + 55 - 0 !
6 files changed, 25 insertions(+), 78 deletions(-)

---
27 fix_clang_stdint.diff | (download)

clang/lib/Headers/stdint.h | 6 3 + 3 - 0 !
1 file changed, 3 insertions(+), 3 deletions(-)

---
26 set correct float abi.diff | (download)

clang/lib/Driver/ToolChains/Arch/ARM.cpp | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 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"
0003 Debian version info and bugreport.patch | (download)

lib/Support/CommandLine.cpp | 4 4 + 0 - 0 !
1 file changed, 4 insertions(+)

---
scan build clang path.diff | (download)

clang/tools/scan-build/bin/scan-build | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

---
declare_clear_cache.diff | (download)

lib/Support/Unix/Memory.inc | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

---
clang format version.diff | (download)

clang/tools/clang-format/clang-format-diff.py | 2 1 + 1 - 0 !
clang/tools/clang-format/clang-format.el | 2 1 + 1 - 0 !
clang/tools/clang-format/clang-format.py | 2 1 + 1 - 0 !
3 files changed, 3 insertions(+), 3 deletions(-)

---
unwind chain inclusion.diff | (download)

clang/lib/Headers/unwind.h | 9 5 + 4 - 0 !
1 file changed, 5 insertions(+), 4 deletions(-)

---
hurd pathmax.diff | (download)

clang/lib/Basic/FileManager.cpp | 6 6 + 0 - 0 !
clang/lib/Frontend/ModuleDependencyCollector.cpp | 5 5 + 0 - 0 !
lib/Support/Unix/Path.inc | 1 1 + 0 - 0 !
lldb/include/lldb/lldb-defines.h | 5 5 + 0 - 0 !
polly/lib/External/ppcg/cuda_common.c | 5 5 + 0 - 0 !
tools/dsymutil/DwarfLinker.cpp | 5 5 + 0 - 0 !
6 files changed, 27 insertions(+)

---
silent gold test.diff | (download)

test/tools/gold/X86/comdat.ll | 1 1 + 0 - 0 !
test/tools/gold/X86/start-lib-common.ll | 1 1 + 0 - 0 !
2 files changed, 2 insertions(+)

 fails on debian unstable amd64
 Command Output (stderr):
 --
 /build/llvm-toolchain-snapshot-4.0~svn279916/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/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
 ^


atomic_library_1.diff | (download)

clang/test/CodeGen/linux-arm-atomic.c | 10 10 + 0 - 0 !
1 file changed, 10 insertions(+)

---
python clangpath.diff | (download)

clang/bindings/python/clang/cindex.py | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

---
fix clang path and build.diff | (download)

clang/lib/Driver/ToolChains/Gnu.cpp | 2 2 + 0 - 0 !
1 file changed, 2 insertions(+)

---
do not fail on unexpected pass.diff | (download)

utils/lit/lit/Test.py | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

---
silent more tests.diff | (download)

test/BugPoint/crash-narrowfunctiontest.ll | 1 1 + 0 - 0 !
test/BugPoint/metadata.ll | 3 2 + 1 - 0 !
test/BugPoint/remove_arguments_test.ll | 1 1 + 0 - 0 !
test/Feature/load_module.ll | 1 1 + 0 - 0 !
4 files changed, 5 insertions(+), 1 deletion(-)

---
disable display PASS UNSUPPORTED XFAIL.diff | (download)

lldb/third_party/Python/module/unittest2/unittest2/runner.py | 6 3 + 3 - 0 !
1 file changed, 3 insertions(+), 3 deletions(-)

---
fix llvm config obj src root.patch | (download)

tools/llvm-config/llvm-config.cpp | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

---
0044 soname.diff | (download)

clang/tools/libclang/CMakeLists.txt | 2 1 + 1 - 0 !
tools/llvm-shlib/CMakeLists.txt | 1 1 + 0 - 0 !
2 files changed, 2 insertions(+), 1 deletion(-)

---
lldb soname.diff | (download)

lldb/source/API/CMakeLists.txt | 14 7 + 7 - 0 !
1 file changed, 7 insertions(+), 7 deletions(-)

---
lldb libname.diff | (download)

lldb/scripts/Python/finishSwigPythonLLDB.py | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

---
hurd EIEIO undef.diff | (download)

utils/TableGen/CodeEmitterGen.cpp | 3 3 + 0 - 0 !
1 file changed, 3 insertions(+)

---
silent MCJIIT tests.diff | (download)

test/BugPoint/crash-narrowfunctiontest.ll | 1 0 + 1 - 0 !
test/BugPoint/remove_arguments_test.ll | 1 0 + 1 - 0 !
test/ExecutionEngine/MCJIT/cross-module-sm-pic-a.ll | 2 1 + 1 - 0 !
test/ExecutionEngine/MCJIT/eh-lg-pic.ll | 2 1 + 1 - 0 !
test/ExecutionEngine/MCJIT/multi-module-sm-pic-a.ll | 2 1 + 1 - 0 !
test/ExecutionEngine/MCJIT/stubs-sm-pic.ll | 2 1 + 1 - 0 !
test/ExecutionEngine/MCJIT/test-global-init-nonzero-sm-pic.ll | 2 1 + 1 - 0 !
test/ExecutionEngine/MCJIT/test-ptr-reloc-sm-pic.ll | 2 1 + 1 - 0 !
test/ExecutionEngine/OrcMCJIT/cross-module-sm-pic-a.ll | 2 1 + 1 - 0 !
test/ExecutionEngine/OrcMCJIT/eh-lg-pic.ll | 2 1 + 1 - 0 !
test/ExecutionEngine/OrcMCJIT/multi-module-sm-pic-a.ll | 2 1 + 1 - 0 !
test/ExecutionEngine/OrcMCJIT/remote/test-global-init-nonzero-sm-pic.ll | 2 1 + 1 - 0 !
test/ExecutionEngine/OrcMCJIT/remote/test-ptr-reloc-sm-pic.ll | 2 1 + 1 - 0 !
test/ExecutionEngine/OrcMCJIT/stubs-sm-pic.ll | 2 1 + 1 - 0 !
test/ExecutionEngine/OrcMCJIT/test-global-init-nonzero-sm-pic.ll | 2 1 + 1 - 0 !
test/ExecutionEngine/OrcMCJIT/test-ptr-reloc-sm-pic.ll | 2 1 + 1 - 0 !
test/Feature/load_module.ll | 1 0 + 1 - 0 !
17 files changed, 14 insertions(+), 17 deletions(-)

---
clang analyzer force version.diff | (download)

clang/tools/scan-build/libexec/ccc-analyzer | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

---
install scan build py.diff | (download)

clang/tools/CMakeLists.txt | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

---
scan view fix path.diff | (download)

clang/tools/scan-view/bin/scan-view | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

---
mips fpxx enable.diff | (download)

clang/lib/Driver/ToolChains/Arch/Mips.cpp | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

---
0001 llvm cmake resolve symlinks in LLVMConfig.cmake.patch | (download)

cmake/modules/CMakeLists.txt | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 [patch] [llvm] cmake: resolve symlinks in llvmconfig.cmake

Ensure that symlinks such as /usr/lib/llvm-X.Y/cmake (pointing to
lib/cmake/llvm) are resolved. This ensures that LLVM_INSTALL_PREFIX
becomes /usr/lib/llvm-X.Y instead of /usr.

Partially addresses PR37128

0001 tools clang cmake resolve symlinks in ClangConfig.cmake.patch | (download)

clang/cmake/modules/CMakeLists.txt | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 [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

lldb link atomic cmake.patch | (download)

lldb/source/Utility/CMakeLists.txt | 8 8 + 0 - 0 !
1 file changed, 8 insertions(+)

 link with -latomic when mips* processor is detected
disable source interleave.diff | (download)

test/tools/llvm-objdump/X86/source-interleave-x86_64.ll | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

---
silent gold utils.diff | (download)

test/tools/gold/X86/common_thinlto.ll | 1 1 + 0 - 0 !
test/tools/gold/X86/emit-llvm.ll | 2 2 + 0 - 0 !
test/tools/gold/X86/parallel.ll | 1 1 + 0 - 0 !
test/tools/gold/X86/pr19901_thinlto.ll | 1 1 + 0 - 0 !
test/tools/gold/X86/slp-vectorize.ll | 1 1 + 0 - 0 !
test/tools/gold/X86/strip_names.ll | 1 1 + 0 - 0 !
test/tools/gold/X86/thinlto.ll | 2 2 + 0 - 0 !
test/tools/gold/X86/thinlto_archive.ll | 1 1 + 0 - 0 !
test/tools/gold/X86/thinlto_internalize.ll | 2 2 + 0 - 0 !
test/tools/gold/X86/thinlto_linkonceresolution.ll | 2 2 + 0 - 0 !
test/tools/gold/X86/thinlto_weak_resolution.ll | 1 1 + 0 - 0 !
test/tools/gold/X86/type-merge2.ll | 2 2 + 0 - 0 !
test/tools/gold/X86/vectorize.ll | 1 1 + 0 - 0 !
test/tools/gold/X86/visibility.ll | 1 1 + 0 - 0 !
14 files changed, 19 insertions(+)

---
disable llvm symbolizer test.diff | (download)

test/tools/llvm-symbolizer/print_context.c | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

 silent a test failing on yakkety amd64
 /tmp/buildd/llvm-toolchain-snapshot-4.0~svn279801/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
  ^
clang tidy run bin.diff | (download)

clang-tools-extra/clang-tidy/tool/run-clang-tidy.py | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

---
fix scan view path.diff | (download)

clang/tools/scan-view/bin/scan-view | 3 2 + 1 - 0 !
1 file changed, 2 insertions(+), 1 deletion(-)

---
lldb addversion suffix to llvm server exec.patch | (download)

lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp | 3 2 + 1 - 0 !
1 file changed, 2 insertions(+), 1 deletion(-)

---
lldb missing install.diff | (download)

lldb/tools/argdumper/CMakeLists.txt | 4 4 + 0 - 0 !
lldb/tools/lldb-server/CMakeLists.txt | 4 4 + 0 - 0 !
2 files changed, 8 insertions(+)

---
silent test failing codeverage.diff | (download)

test/ThinLTO/X86/autoupgrade.ll | 2 2 + 0 - 0 !
1 file changed, 2 insertions(+)

---
disable path test failing.diff | (download)

unittests/Support/Path.cpp | 6 3 + 3 - 0 !
1 file changed, 3 insertions(+), 3 deletions(-)

---
silent amd tet.diff | (download)

test/MC/AMDGPU/hsa.s | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

---
disable error xray.diff | (download)

compiler-rt/lib/xray/xray_tsc.h | 2 0 + 2 - 0 !
1 file changed, 2 deletions(-)

---
lldb disable swig error.diff | (download)

lldb/scripts/lldb.swig | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

---
silent test macho.diff | (download)

test/Object/macho-invalid.test | 3 0 + 3 - 0 !
1 file changed, 3 deletions(-)

---
silent llvm isel fuzzer.diff | (download)

test/tools/llvm-isel-fuzzer/aarch64-execname-options.ll | 1 1 + 0 - 0 !
test/tools/llvm-isel-fuzzer/execname-options.ll | 1 1 + 0 - 0 !
2 files changed, 2 insertions(+)

---
test keep alive.diff | (download)

utils/lit/lit/ProgressBar.py | 10 1 + 9 - 0 !
1 file changed, 1 insertion(+), 9 deletions(-)

---
sparc64 add missing tls get addr.diff | (download)

lib/Target/Sparc/MCTargetDesc/SparcMCExpr.cpp | 20 18 + 2 - 0 !
1 file changed, 18 insertions(+), 2 deletions(-)

 [sparc] include __tls_get_addr in symbol table for tls calls to it
 Global Dynamic and Local Dynamic call relocations only implicitly
 reference __tls_get_addr, but it still needs to be in the symbol table
 to be bound at link time otherwise it fails to link. For details, see
 https://sourceware.org/bugzilla/show_bug.cgi?id=22832.
remove test freezing.diff | (download)

compiler-rt/test/sanitizer_common/TestCases/Linux/sysconf_interceptor_bypass_test.cc | 27 0 + 27 - 0 !
1 file changed, 27 deletions(-)

---
0048 Set html_static_path _static everywhere.patch | (download)

clang-tools-extra/docs/conf.py | 2 1 + 1 - 0 !
clang/docs/analyzer/conf.py | 2 1 + 1 - 0 !
clang/docs/conf.py | 2 1 + 1 - 0 !
polly/docs/conf.py | 2 1 + 1 - 0 !
4 files changed, 4 insertions(+), 4 deletions(-)

 set html_static_path = ['_static'] everywhere.


0049 Use Debian provided MathJax everywhere.patch | (download)

clang-tools-extra/docs/Doxyfile | 2 1 + 1 - 0 !
clang-tools-extra/docs/conf.py | 3 3 + 0 - 0 !
clang-tools-extra/docs/doxygen.cfg.in | 2 1 + 1 - 0 !
clang/docs/analyzer/conf.py | 3 3 + 0 - 0 !
clang/docs/conf.py | 3 3 + 0 - 0 !
clang/docs/doxygen.cfg.in | 2 1 + 1 - 0 !
docs/doxygen.cfg.in | 2 1 + 1 - 0 !
polly/docs/doxygen.cfg.in | 2 1 + 1 - 0 !
8 files changed, 14 insertions(+), 5 deletions(-)

 use debian-provided mathjax everywhere.


ubuntu cosmic support.patch | (download)

clang/include/clang/Driver/Distro.h | 3 2 + 1 - 0 !
clang/lib/Driver/Distro.cpp | 1 1 + 0 - 0 !
2 files changed, 3 insertions(+), 1 deletion(-)

 add ubuntu cosmic to the distro release list.
D40146 JumpThreading backport 1.diff | (download)

include/llvm/IR/Dominators.h | 84 84 + 0 - 0 !
include/llvm/Transforms/Scalar/JumpThreading.h | 6 4 + 2 - 0 !
include/llvm/Transforms/Utils/BasicBlockUtils.h | 3 2 + 1 - 0 !
include/llvm/Transforms/Utils/Local.h | 20 13 + 7 - 0 !
lib/IR/Dominators.cpp | 188 188 + 0 - 0 !
lib/Transforms/Scalar/CorrelatedValuePropagation.cpp | 2 2 + 0 - 0 !
lib/Transforms/Scalar/JumpThreading.cpp | 174 135 + 39 - 0 !
lib/Transforms/Utils/BasicBlockUtils.cpp | 18 14 + 4 - 0 !
lib/Transforms/Utils/Local.cpp | 209 163 + 46 - 0 !
test/Analysis/LazyValueAnalysis/lvi-after-jumpthreading.ll | 3 3 + 0 - 0 !
test/Transforms/JumpThreading/ddt-crash.ll | 265 265 + 0 - 0 !
test/Transforms/JumpThreading/ddt-crash2.ll | 40 40 + 0 - 0 !
test/Transforms/JumpThreading/lvi-tristate.ll | 50 50 + 0 - 0 !
unittests/IR/CMakeLists.txt | 1 1 + 0 - 0 !
unittests/IR/DeferredDominanceTest.cpp | 344 344 + 0 - 0 !
15 files changed, 1308 insertions(+), 99 deletions(-)

---
D42717 JumpThreading backport 2.diff | (download)

include/llvm/Analysis/LazyValueInfo.h | 7 7 + 0 - 0 !
include/llvm/IR/Dominators.h | 3 3 + 0 - 0 !
lib/Analysis/LazyValueInfo.cpp | 30 29 + 1 - 0 !
lib/IR/Dominators.cpp | 3 3 + 0 - 0 !
lib/Transforms/Scalar/JumpThreading.cpp | 37 37 + 0 - 0 !
test/Transforms/JumpThreading/pr36133.ll | 44 44 + 0 - 0 !
6 files changed, 123 insertions(+), 1 deletion(-)

---
llvm D49832 SCEVPred.patch | (download)

lib/Analysis/ScalarEvolutionExpander.cpp | 25 20 + 5 - 0 !
test/Analysis/LoopAccessAnalysis/wrapping-pointer-ni.ll | 73 73 + 0 - 0 !
test/Analysis/LoopAccessAnalysis/wrapping-pointer-versioning.ll | 16 8 + 8 - 0 !
3 files changed, 101 insertions(+), 13 deletions(-)

---