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

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

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

---

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(-)

---

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

---

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"


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

---

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

---

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

---

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(-)

---

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

---

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(+)

---

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):
--
; 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
^



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

---

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

---

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

---

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

---

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(-)

---

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

---

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

---

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/source/API/CMakeLists.txt | 14 7 + 7 - 0 !
1 file changed, 7 insertions(+), 7 deletions(-)

---

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

---

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

---

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/tools/scan-build/libexec/ccc-analyzer | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

---

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

---

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

---

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

---

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



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.



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

 link with -latomic when mips* processor is detected


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

---

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(+)

---

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

 silent a test failing on yakkety amd64
// CHECK: inc
^
<stdin>:1:1: note: scanning from here
_fini
^
<stdin>:1:3: note: possible intended match here
_fini
^


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

---

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

---

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

---

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

---

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

---

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

---

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

---

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

---

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

---

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

---

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(+)

---

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

---

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.


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

---

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.



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.



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.


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(-)

---

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(-)

---
---