-
Notifications
You must be signed in to change notification settings - Fork 12.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade to LLVM 12 #81451
Upgrade to LLVM 12 #81451
Commits on Feb 28, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 55f345f - Browse repository at this point
Copy the full SHA 55f345fView commit details -
Explicitly mark x86-interrupt ABI argument as byval
The first argument to an x86-interrupt ABI function was implicitly treated as byval prior to LLVM 12. Since LLVM 12, it has to be marked as such explicitly: llvm/llvm-project@2e0e03c
Configuration menu - View commit details
-
Copy full SHA for 092643a - Browse repository at this point
Copy the full SHA 092643aView commit details
Commits on Mar 1, 2021
-
Configuration menu - View commit details
-
Copy full SHA for ff2111a - Browse repository at this point
Copy the full SHA ff2111aView commit details -
Build newer version of cmake in Docker images
LLVM requires CMake 3.13.4, which is only available as of Ubuntu 20.04. On images using an older version, build it manually.
Configuration menu - View commit details
-
Copy full SHA for 1e21b2c - Browse repository at this point
Copy the full SHA 1e21b2cView commit details -
Build both Python 2 and Python 3 on x86 dist builders
Python 2 is needed for Clang 10, Python 3 for LLVM 12. The Python 2 dependency could be removed by upgrading to Clang 11, but that causes linker errors of unclear origin.
Configuration menu - View commit details
-
Copy full SHA for b763d9a - Browse repository at this point
Copy the full SHA b763d9aView commit details -
Don't directly expose coverage::CounterMappingRegion via FFI
The definition of this struct changes in LLVM 12 due to the addition of branch coverage support. To avoid future mismatches, declare our own struct and then convert between them.
Configuration menu - View commit details
-
Copy full SHA for 1d280b0 - Browse repository at this point
Copy the full SHA 1d280b0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 41b8158 - Browse repository at this point
Copy the full SHA 41b8158View commit details -
Configuration menu - View commit details
-
Copy full SHA for bc96516 - Browse repository at this point
Copy the full SHA bc96516View commit details -
Set CMAKE_SYSTEM_NAME for solaris/illumos
When cross-compiling to solaris/illumos targets, set CMAKE_SYSTEM_NAME to SunOS.
Configuration menu - View commit details
-
Copy full SHA for 34352d4 - Browse repository at this point
Copy the full SHA 34352d4View commit details -
Build cmake earlier on dist-x86_64-musl
musl-toolchain.sh is called with REPLACE_CC=1, so it will replace the host compiler and the subsequent cmake build will fail because it cannot find the openssl headers. Move the cmake build earlier, so it happens before the compiler is replaced.
Configuration menu - View commit details
-
Copy full SHA for ea0aa8d - Browse repository at this point
Copy the full SHA ea0aa8dView commit details
Commits on Mar 3, 2021
-
Schedule ThinLTOBuffer passes again after sanitizer passes
This works around a design defect in the LLVM 12 pass builder implementation. In LLVM 13, the PreLink ThinLTO pipeline properly respects the OptimizerLastEPCallbacks.
Configuration menu - View commit details
-
Copy full SHA for 9a8acea - Browse repository at this point
Copy the full SHA 9a8aceaView commit details -
Explicitly disable preinline during pgo-use test
We previously used -Os to disable this pass, but since https://reviews.llvm.org/D91673 this no longer works. Explicitly disable it using -Cllvm-args instead.
Configuration menu - View commit details
-
Copy full SHA for ab03c56 - Browse repository at this point
Copy the full SHA ab03c56View commit details