Updated LLVM Upgrade Process (markdown)

Andrew Kelley 2020-03-21 15:45:43 -04:00
parent 28d98ab9a4
commit 6889e947fa

@ -19,6 +19,7 @@ This page documents how to update the Zig source code to a new LLVM version.
10. Update [[How to build LLVM, libclang, and liblld from source]]
11. Update [[Building Zig on Windows]]
12. Update the static asserts at the bottom of src/zig_llvm.cpp
13. Build zig in debug mode with the debug mode llvm, clang, lld, and run the full Zig test suite. This takes several hours, but ensures that zig is not tripping any LLVM asserts.
13. Run `tools/update_clang_options.zig` and use it to update the file `src-self-hosted/clang_options_data.zig`.
14. Build zig in debug mode with the debug mode llvm, clang, lld, and run the full Zig test suite. This takes several hours, but ensures that zig is not tripping any LLVM asserts.
master branch is always the latest LLVM release. The `llvmX` branch is kept up to date with the next LLVM release. The day that LLVM is released, we merge the `llvmX` branch into master, and start the next `llvmX` branch, following this upgrade process.