# HG changeset patch # User Mike Hommey # Date 1547074906 0 # Node ID 1212d77a97b13451edec9af53e45be3e6aad0caa # Parent d403f2b9cd57dc460b9a77590f419f42e0792371 Bug 1516374 - Upgrade clang to 7.0.1. r=dmajor Differential Revision: https://phabricator.services.mozilla.com/D15346 diff --git a/browser/config/mozconfigs/linux64/code-coverage b/browser/config/mozconfigs/linux64/code-coverage --- a/browser/config/mozconfigs/linux64/code-coverage +++ b/browser/config/mozconfigs/linux64/code-coverage @@ -10,10 +10,10 @@ ac_add_options --enable-debug ac_add_options --disable-sandbox ac_add_options --disable-dmd ac_add_options --disable-profiling ac_add_options --disable-warnings-as-errors ac_add_options --enable-coverage export CFLAGS="--coverage" export CXXFLAGS="--coverage" -export LDFLAGS="--coverage -L$topsrcdir/clang/lib/clang/7.0.0/lib/linux/" +export LDFLAGS="--coverage -L$topsrcdir/clang/lib/clang/7.0.1/lib/linux/" export LIBS="-lclang_rt.profile-x86_64" diff --git a/build/build-clang/clang-7-android.json b/build/build-clang/clang-7-android.json --- a/build/build-clang/clang-7-android.json +++ b/build/build-clang/clang-7-android.json @@ -1,20 +1,20 @@ { - "llvm_revision": "342383", + "llvm_revision": "349247", "stages": "2", "build_libcxx": true, "build_type": "Release", "assertions": false, - "llvm_repo": "https://llvm.org/svn/llvm-project/llvm/tags/RELEASE_700/final", - "clang_repo": "https://llvm.org/svn/llvm-project/cfe/tags/RELEASE_700/final", - "lld_repo": "https://llvm.org/svn/llvm-project/lld/tags/RELEASE_700/final", - "compiler_repo": "https://llvm.org/svn/llvm-project/compiler-rt/tags/RELEASE_700/final", - "libcxx_repo": "https://llvm.org/svn/llvm-project/libcxx/tags/RELEASE_700/final", - "libcxxabi_repo": "https://llvm.org/svn/llvm-project/libcxxabi/tags/RELEASE_700/final", + "llvm_repo": "https://llvm.org/svn/llvm-project/llvm/tags/RELEASE_701/final", + "clang_repo": "https://llvm.org/svn/llvm-project/cfe/tags/RELEASE_701/final", + "lld_repo": "https://llvm.org/svn/llvm-project/lld/tags/RELEASE_701/final", + "compiler_repo": "https://llvm.org/svn/llvm-project/compiler-rt/tags/RELEASE_701/final", + "libcxx_repo": "https://llvm.org/svn/llvm-project/libcxx/tags/RELEASE_701/final", + "libcxxabi_repo": "https://llvm.org/svn/llvm-project/libcxxabi/tags/RELEASE_701/final", "python_path": "/usr/bin/python2.7", "gcc_dir": "/builds/worker/workspace/build/src/gcc", "cc": "/builds/worker/workspace/build/src/gcc/bin/gcc", "cxx": "/builds/worker/workspace/build/src/gcc/bin/g++", "as": "/builds/worker/workspace/build/src/gcc/bin/gcc", "android_targets": { "armv7-linux-android": { "ndk_toolchain": "/builds/worker/workspace/build/src/android-ndk/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64", diff --git a/build/build-clang/clang-7-linux64.json b/build/build-clang/clang-7-linux64.json --- a/build/build-clang/clang-7-linux64.json +++ b/build/build-clang/clang-7-linux64.json @@ -1,20 +1,20 @@ { - "llvm_revision": "342383", + "llvm_revision": "349247", "stages": "3", "build_libcxx": true, "build_type": "Release", "assertions": false, - "llvm_repo": "https://llvm.org/svn/llvm-project/llvm/tags/RELEASE_700/final", - "clang_repo": "https://llvm.org/svn/llvm-project/cfe/tags/RELEASE_700/final", - "lld_repo": "https://llvm.org/svn/llvm-project/lld/tags/RELEASE_700/final", - "compiler_repo": "https://llvm.org/svn/llvm-project/compiler-rt/tags/RELEASE_700/final", - "libcxx_repo": "https://llvm.org/svn/llvm-project/libcxx/tags/RELEASE_700/final", - "libcxxabi_repo": "https://llvm.org/svn/llvm-project/libcxxabi/tags/RELEASE_700/final", + "llvm_repo": "https://llvm.org/svn/llvm-project/llvm/tags/RELEASE_701/final", + "clang_repo": "https://llvm.org/svn/llvm-project/cfe/tags/RELEASE_701/final", + "lld_repo": "https://llvm.org/svn/llvm-project/lld/tags/RELEASE_701/final", + "compiler_repo": "https://llvm.org/svn/llvm-project/compiler-rt/tags/RELEASE_701/final", + "libcxx_repo": "https://llvm.org/svn/llvm-project/libcxx/tags/RELEASE_701/final", + "libcxxabi_repo": "https://llvm.org/svn/llvm-project/libcxxabi/tags/RELEASE_701/final", "python_path": "/usr/bin/python2.7", "gcc_dir": "/builds/worker/workspace/build/src/gcc", "cc": "/builds/worker/workspace/build/src/gcc/bin/gcc", "cxx": "/builds/worker/workspace/build/src/gcc/bin/g++", "as": "/builds/worker/workspace/build/src/gcc/bin/gcc", "patches": [ "static-llvm-symbolizer.patch", "find_symbolizer_linux.patch", diff --git a/build/build-clang/clang-7-macosx64.json b/build/build-clang/clang-7-macosx64.json --- a/build/build-clang/clang-7-macosx64.json +++ b/build/build-clang/clang-7-macosx64.json @@ -1,21 +1,21 @@ { - "llvm_revision": "342383", + "llvm_revision": "349247", "stages": "1", "build_libcxx": true, "build_type": "Release", "assertions": false, "osx_cross_compile": true, - "llvm_repo": "https://llvm.org/svn/llvm-project/llvm/tags/RELEASE_700/final", - "clang_repo": "https://llvm.org/svn/llvm-project/cfe/tags/RELEASE_700/final", - "lld_repo": "https://llvm.org/svn/llvm-project/lld/tags/RELEASE_700/final", - "compiler_repo": "https://llvm.org/svn/llvm-project/compiler-rt/tags/RELEASE_700/final", - "libcxx_repo": "https://llvm.org/svn/llvm-project/libcxx/tags/RELEASE_700/final", - "libcxxabi_repo": "https://llvm.org/svn/llvm-project/libcxxabi/tags/RELEASE_700/final", + "llvm_repo": "https://llvm.org/svn/llvm-project/llvm/tags/RELEASE_701/final", + "clang_repo": "https://llvm.org/svn/llvm-project/cfe/tags/RELEASE_701/final", + "lld_repo": "https://llvm.org/svn/llvm-project/lld/tags/RELEASE_701/final", + "compiler_repo": "https://llvm.org/svn/llvm-project/compiler-rt/tags/RELEASE_701/final", + "libcxx_repo": "https://llvm.org/svn/llvm-project/libcxx/tags/RELEASE_701/final", + "libcxxabi_repo": "https://llvm.org/svn/llvm-project/libcxxabi/tags/RELEASE_701/final", "python_path": "/usr/bin/python2.7", "gcc_dir": "/builds/worker/workspace/build/src/gcc", "cc": "/builds/worker/workspace/build/src/clang/bin/clang", "cxx": "/builds/worker/workspace/build/src/clang/bin/clang++", "as": "/builds/worker/workspace/build/src/clang/bin/clang", "ar": "/builds/worker/workspace/build/src/cctools/bin/x86_64-darwin11-ar", "ranlib": "/builds/worker/workspace/build/src/cctools/bin/x86_64-darwin11-ranlib", "libtool": "/builds/worker/workspace/build/src/cctools/bin/x86_64-darwin11-libtool", diff --git a/build/build-clang/clang-tidy-linux64.json b/build/build-clang/clang-tidy-linux64.json --- a/build/build-clang/clang-tidy-linux64.json +++ b/build/build-clang/clang-tidy-linux64.json @@ -1,20 +1,20 @@ { - "llvm_revision": "342383", + "llvm_revision": "349247", "stages": "1", "build_libcxx": true, "build_type": "Release", "assertions": false, "build_clang_tidy": true, - "llvm_repo": "https://llvm.org/svn/llvm-project/llvm/tags/RELEASE_700/final/", - "clang_repo": "https://llvm.org/svn/llvm-project/cfe/tags/RELEASE_700/final/", - "extra_repo": "https://llvm.org/svn/llvm-project/clang-tools-extra/tags/RELEASE_700/final/", - "libcxx_repo": "https://llvm.org/svn/llvm-project/libcxx/tags/RELEASE_700/final/", - "libcxxabi_repo": "https://llvm.org/svn/llvm-project/libcxxabi/tags/RELEASE_700/final/", + "llvm_repo": "https://llvm.org/svn/llvm-project/llvm/tags/RELEASE_701/final/", + "clang_repo": "https://llvm.org/svn/llvm-project/cfe/tags/RELEASE_701/final/", + "extra_repo": "https://llvm.org/svn/llvm-project/clang-tools-extra/tags/RELEASE_701/final/", + "libcxx_repo": "https://llvm.org/svn/llvm-project/libcxx/tags/RELEASE_701/final/", + "libcxxabi_repo": "https://llvm.org/svn/llvm-project/libcxxabi/tags/RELEASE_701/final/", "python_path": "/usr/bin/python2.7", "gcc_dir": "/builds/worker/workspace/build/src/gcc", "cc": "/builds/worker/workspace/build/src/gcc/bin/gcc", "cxx": "/builds/worker/workspace/build/src/gcc/bin/g++", "as": "/builds/worker/workspace/build/src/gcc/bin/gcc", "patches": [ ] } diff --git a/build/build-clang/clang-tidy-macosx64.json b/build/build-clang/clang-tidy-macosx64.json --- a/build/build-clang/clang-tidy-macosx64.json +++ b/build/build-clang/clang-tidy-macosx64.json @@ -1,21 +1,21 @@ { - "llvm_revision": "342383", + "llvm_revision": "349247", "stages": "1", "build_libcxx": true, "build_type": "Release", "assertions": false, "build_clang_tidy": true, "osx_cross_compile": true, - "llvm_repo": "https://llvm.org/svn/llvm-project/llvm/tags/RELEASE_700/final", - "clang_repo": "https://llvm.org/svn/llvm-project/cfe/tags/RELEASE_700/final", - "extra_repo": "https://llvm.org/svn/llvm-project/clang-tools-extra/tags/RELEASE_700/final", - "libcxx_repo": "https://llvm.org/svn/llvm-project/libcxx/tags/RELEASE_700/final", - "libcxxabi_repo": "https://llvm.org/svn/llvm-project/libcxxabi/tags/RELEASE_700/final", + "llvm_repo": "https://llvm.org/svn/llvm-project/llvm/tags/RELEASE_701/final", + "clang_repo": "https://llvm.org/svn/llvm-project/cfe/tags/RELEASE_701/final", + "extra_repo": "https://llvm.org/svn/llvm-project/clang-tools-extra/tags/RELEASE_701/final", + "libcxx_repo": "https://llvm.org/svn/llvm-project/libcxx/tags/RELEASE_701/final", + "libcxxabi_repo": "https://llvm.org/svn/llvm-project/libcxxabi/tags/RELEASE_701/final", "python_path": "/usr/bin/python2.7", "gcc_dir": "/builds/worker/workspace/build/src/gcc", "cc": "/builds/worker/workspace/build/src/clang/bin/clang", "cxx": "/builds/worker/workspace/build/src/clang/bin/clang++", "as": "/builds/worker/workspace/build/src/clang/bin/clang", "ar": "/builds/worker/workspace/build/src/cctools/bin/x86_64-darwin11-ar", "ranlib": "/builds/worker/workspace/build/src/cctools/bin/x86_64-darwin11-ranlib", "libtool": "/builds/worker/workspace/build/src/cctools/bin/x86_64-darwin11-libtool", diff --git a/build/build-clang/clang-tidy-win32.json b/build/build-clang/clang-tidy-win32.json --- a/build/build-clang/clang-tidy-win32.json +++ b/build/build-clang/clang-tidy-win32.json @@ -1,18 +1,18 @@ { - "llvm_revision": "342383", + "llvm_revision": "349247", "stages": "1", "build_libcxx": false, "build_type": "Release", "assertions": false, "build_clang_tidy": true, - "llvm_repo": "https://llvm.org/svn/llvm-project/llvm/tags/RELEASE_700/final", - "clang_repo": "https://llvm.org/svn/llvm-project/cfe/tags/RELEASE_700/final", - "extra_repo": "https://llvm.org/svn/llvm-project/clang-tools-extra/tags/RELEASE_700/final", - "compiler_repo": "https://llvm.org/svn/llvm-project/compiler-rt/tags/RELEASE_700/final", - "libcxx_repo": "https://llvm.org/svn/llvm-project/libcxx/tags/RELEASE_700/final", + "llvm_repo": "https://llvm.org/svn/llvm-project/llvm/tags/RELEASE_701/final", + "clang_repo": "https://llvm.org/svn/llvm-project/cfe/tags/RELEASE_701/final", + "extra_repo": "https://llvm.org/svn/llvm-project/clang-tools-extra/tags/RELEASE_701/final", + "compiler_repo": "https://llvm.org/svn/llvm-project/compiler-rt/tags/RELEASE_701/final", + "libcxx_repo": "https://llvm.org/svn/llvm-project/libcxx/tags/RELEASE_701/final", "python_path": "c:/mozilla-build/python/python.exe", "cc": "cl.exe", "cxx": "cl.exe", "patches": [ ] } diff --git a/build/build-clang/clang-tidy-win64.json b/build/build-clang/clang-tidy-win64.json --- a/build/build-clang/clang-tidy-win64.json +++ b/build/build-clang/clang-tidy-win64.json @@ -1,19 +1,19 @@ { - "llvm_revision": "342383", + "llvm_revision": "349247", "stages": "1", "build_libcxx": false, "build_type": "Release", "assertions": false, "build_clang_tidy": true, - "llvm_repo": "https://llvm.org/svn/llvm-project/llvm/tags/RELEASE_700/final", - "clang_repo": "https://llvm.org/svn/llvm-project/cfe/tags/RELEASE_700/final", - "extra_repo": "https://llvm.org/svn/llvm-project/clang-tools-extra/tags/RELEASE_700/final", - "compiler_repo": "https://llvm.org/svn/llvm-project/compiler-rt/tags/RELEASE_700/final", - "libcxx_repo": "https://llvm.org/svn/llvm-project/libcxx/tags/RELEASE_700/final", + "llvm_repo": "https://llvm.org/svn/llvm-project/llvm/tags/RELEASE_701/final", + "clang_repo": "https://llvm.org/svn/llvm-project/cfe/tags/RELEASE_701/final", + "extra_repo": "https://llvm.org/svn/llvm-project/clang-tools-extra/tags/RELEASE_701/final", + "compiler_repo": "https://llvm.org/svn/llvm-project/compiler-rt/tags/RELEASE_701/final", + "libcxx_repo": "https://llvm.org/svn/llvm-project/libcxx/tags/RELEASE_701/final", "python_path": "c:/mozilla-build/python/python.exe", "cc": "cl.exe", "cxx": "cl.exe", "ml": "ml64.exe", "patches": [ ] } diff --git a/build/build-clang/clang-win64.json b/build/build-clang/clang-win64.json --- a/build/build-clang/clang-win64.json +++ b/build/build-clang/clang-win64.json @@ -1,19 +1,19 @@ { - "llvm_revision": "342383", + "llvm_revision": "349247", "stages": "3", "build_libcxx": false, "build_type": "Release", "assertions": false, - "llvm_repo": "https://llvm.org/svn/llvm-project/llvm/tags/RELEASE_700/final", - "clang_repo": "https://llvm.org/svn/llvm-project/cfe/tags/RELEASE_700/final", - "lld_repo": "https://llvm.org/svn/llvm-project/lld/tags/RELEASE_700/final", - "compiler_repo": "https://llvm.org/svn/llvm-project/compiler-rt/tags/RELEASE_700/final", - "libcxx_repo": "https://llvm.org/svn/llvm-project/libcxx/tags/RELEASE_700/final", + "llvm_repo": "https://llvm.org/svn/llvm-project/llvm/tags/RELEASE_701/final", + "clang_repo": "https://llvm.org/svn/llvm-project/cfe/tags/RELEASE_701/final", + "lld_repo": "https://llvm.org/svn/llvm-project/lld/tags/RELEASE_701/final", + "compiler_repo": "https://llvm.org/svn/llvm-project/compiler-rt/tags/RELEASE_701/final", + "libcxx_repo": "https://llvm.org/svn/llvm-project/libcxx/tags/RELEASE_701/final", "python_path": "c:/mozilla-build/python/python.exe", "cc": "cl.exe", "cxx": "cl.exe", "ml": "ml64.exe", "patches": [ "workaround-issue38586.patch", "r342649-hotpatch-8-byte-nops.patch", "r342652-unpoison-thread-stacks.patch",