@@ -221,15 +221,15 @@ substitution combinations), `mapgen`'s `finalize()` method queries the
221221and `CodeRegion `s ; and calls LLVM codegen APIs to generate
222222properly - configured variables in LLVM IR , according to very specific
223223details of the [_LLVM Coverage Mapping Format_ ][coverage - mapping - format ]
224- (Version 4 ). [^ llvm - and - covmap - versions ]
224+ (Version 5 ). [^ llvm - and - covmap - versions ]
225225
226226[^ llvm - and - covmap - versions ]: The Rust compiler (as of
227- January 2021 ) supports _LLVM Coverage Mapping Format_ Version 4 (the most
227+ October 2021 ) supports _LLVM Coverage Mapping Format_ Version 5 (the most
228228up - to - date version of the format , at the time of this writing ) for improved
229229compatibility with other LLVM - based compilers (like _Clang_ ), and to take
230- advantage of some format optimizations . Version 4 was introduced in _LLVM 11_ ,
231- which is currently the default LLVM version for Rust . Note that the Rust
232- compiler optionally supports some earlier LLVM versions , prior to _LLVM 11_ . If
230+ advantage of some format optimizations . Version 5 was introduced in _LLVM 12_ ,
231+ which is lower than the current default LLVM version for Rust . Note that the Rust
232+ compiler optionally supports some earlier LLVM versions , prior to _LLVM 12_ . If
233233`rustc ` is configured to use an incompatible version of LLVM , compiling with `- Z
234234instrument- coverage` will generate an error message.
235235
0 commit comments