From cc5922b1d255a7eacc4c833b1ff527e663e8a26a Mon Sep 17 00:00:00 2001 From: Tshepang Mbambo Date: Sun, 27 Aug 2023 03:00:45 +0200 Subject: [PATCH] llvm updates (#1761) --- src/backend/updating-llvm.md | 5 +++-- src/llvm-coverage-instrumentation.md | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/backend/updating-llvm.md b/src/backend/updating-llvm.md index 08af10f89..dd16b1e28 100644 --- a/src/backend/updating-llvm.md +++ b/src/backend/updating-llvm.md @@ -2,7 +2,7 @@ - + There is no formal policy about when to update LLVM or what it can be updated to, but a few guidelines are applied: @@ -52,7 +52,7 @@ An example PR: ## New LLVM Release Updates - + Unlike bugfixes, updating to a new release of LLVM typically requires a lot more work. @@ -139,6 +139,7 @@ so let's go through each in detail. > - [LLVM 13](/~https://github.com/rust-lang/rust/pull/87570) > - [LLVM 14](/~https://github.com/rust-lang/rust/pull/93577) > - [LLVM 15](/~https://github.com/rust-lang/rust/pull/99464) + > - [LLVM 16](/~https://github.com/rust-lang/rust/pull/109474) Note that sometimes it's easiest to land [`llvm-wrapper`] compatibility as a PR before actually updating `src/llvm-project`. diff --git a/src/llvm-coverage-instrumentation.md b/src/llvm-coverage-instrumentation.md index af7cf30ff..4626c67a3 100644 --- a/src/llvm-coverage-instrumentation.md +++ b/src/llvm-coverage-instrumentation.md @@ -223,7 +223,7 @@ details of the [_LLVM Coverage Mapping Format_][coverage-mapping-format] (Version 6).[^llvm-and-covmap-versions] [^llvm-and-covmap-versions]: -The Rust compiler (as of Feb 2023) supports _LLVM Coverage Mapping Format_ 6. +The Rust compiler (as of Jul 2023) supports _LLVM Coverage Mapping Format_ 6. The Rust compiler will automatically use the most up-to-date coverage mapping format version that is compatible with the compiler's built-in version of LLVM.