Skip to content

Commit a958acb

Browse files
committed
Bug 1478927 - Upgrade clang 6 to 6.0.1 and apply some miscompilation patches. r=dmajor
rust-lang/rust#52694 is a miscompilation I found in rust when it uses system llvm 5 or 6, that was fixed 5 months ago in the llvm rust bundles. This may or may not affect clang, but considering it was also reported to upstream llvm independently of rust, it's better to side with caution. It doesn't affect 3.9, and bug 1478919 got rid of the last use of clang 5 (except for clang-tidy, but that's not used to compile). The patches come from the llvm trunk from 5 months ago, so they're already in our clang 7 snapshots. Windows static analysis builds are still using an old trunk, but are stuck on bug 1427808. They're "only" for static analysis, though. --HG-- extra : rebase_source : f4fce69eb7c69b6245518a1bad37e04236c7075b
1 parent b1ce4dc commit a958acb

File tree

4 files changed

+2543
-16
lines changed

4 files changed

+2543
-16
lines changed
+10-8
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,23 @@
11
{
2-
"llvm_revision": "326563",
2+
"llvm_revision": "335538",
33
"stages": "3",
44
"build_libcxx": true,
55
"build_type": "Release",
66
"assertions": false,
7-
"llvm_repo": "https://llvm.org/svn/llvm-project/llvm/tags/RELEASE_600/final",
8-
"clang_repo": "https://llvm.org/svn/llvm-project/cfe/tags/RELEASE_600/final",
9-
"lld_repo": "https://llvm.org/svn/llvm-project/lld/tags/RELEASE_600/final",
10-
"compiler_repo": "https://llvm.org/svn/llvm-project/compiler-rt/tags/RELEASE_600/final",
11-
"libcxx_repo": "https://llvm.org/svn/llvm-project/libcxx/tags/RELEASE_600/final",
12-
"libcxxabi_repo": "https://llvm.org/svn/llvm-project/libcxxabi/tags/RELEASE_600/final",
7+
"llvm_repo": "https://llvm.org/svn/llvm-project/llvm/tags/RELEASE_601/final",
8+
"clang_repo": "https://llvm.org/svn/llvm-project/cfe/tags/RELEASE_601/final",
9+
"lld_repo": "https://llvm.org/svn/llvm-project/lld/tags/RELEASE_601/final",
10+
"compiler_repo": "https://llvm.org/svn/llvm-project/compiler-rt/tags/RELEASE_601/final",
11+
"libcxx_repo": "https://llvm.org/svn/llvm-project/libcxx/tags/RELEASE_601/final",
12+
"libcxxabi_repo": "https://llvm.org/svn/llvm-project/libcxxabi/tags/RELEASE_601/final",
1313
"python_path": "/usr/bin/python2.7",
1414
"gcc_dir": "/builds/worker/workspace/build/src/gcc",
1515
"cc": "/builds/worker/workspace/build/src/gcc/bin/gcc",
1616
"cxx": "/builds/worker/workspace/build/src/gcc/bin/g++",
1717
"as": "/builds/worker/workspace/build/src/gcc/bin/gcc",
1818
"patches": [
19-
"find_symbolizer_linux.patch"
19+
"find_symbolizer_linux.patch",
20+
"r322401.patch",
21+
"r325356.patch"
2022
]
2123
}
+10-8
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
{
2-
"llvm_revision": "326563",
2+
"llvm_revision": "335538",
33
"stages": "1",
44
"build_libcxx": true,
55
"build_type": "Release",
66
"assertions": false,
77
"osx_cross_compile": true,
8-
"llvm_repo": "https://llvm.org/svn/llvm-project/llvm/tags/RELEASE_600/final",
9-
"clang_repo": "https://llvm.org/svn/llvm-project/cfe/tags/RELEASE_600/final",
10-
"lld_repo": "https://llvm.org/svn/llvm-project/lld/tags/RELEASE_600/final",
11-
"compiler_repo": "https://llvm.org/svn/llvm-project/compiler-rt/tags/RELEASE_600/final",
12-
"libcxx_repo": "https://llvm.org/svn/llvm-project/libcxx/tags/RELEASE_600/final",
13-
"libcxxabi_repo": "https://llvm.org/svn/llvm-project/libcxxabi/tags/RELEASE_600/final",
8+
"llvm_repo": "https://llvm.org/svn/llvm-project/llvm/tags/RELEASE_601/final",
9+
"clang_repo": "https://llvm.org/svn/llvm-project/cfe/tags/RELEASE_601/final",
10+
"lld_repo": "https://llvm.org/svn/llvm-project/lld/tags/RELEASE_601/final",
11+
"compiler_repo": "https://llvm.org/svn/llvm-project/compiler-rt/tags/RELEASE_601/final",
12+
"libcxx_repo": "https://llvm.org/svn/llvm-project/libcxx/tags/RELEASE_601/final",
13+
"libcxxabi_repo": "https://llvm.org/svn/llvm-project/libcxxabi/tags/RELEASE_601/final",
1414
"python_path": "/usr/bin/python2.7",
1515
"gcc_dir": "/builds/worker/workspace/build/src/gcc",
1616
"cc": "/builds/worker/workspace/build/src/clang/bin/clang",
@@ -22,6 +22,8 @@
2222
"ld": "/builds/worker/workspace/build/src/clang/bin/clang",
2323
"patches": [
2424
"compiler-rt-cross-compile.patch",
25-
"compiler-rt-no-codesign.patch"
25+
"compiler-rt-no-codesign.patch",
26+
"r322401.patch",
27+
"r325356.patch"
2628
]
2729
}

0 commit comments

Comments
 (0)