此内容没有您所选择的语言版本。

Chapter 5. Changes in LLVM Toolset 21.1.8


Red Hat Enterprise Linux is distributed with LLVM Toolset version 21.1.8.

  • LLVM Toolset 21.1.8:

    • Upstream LLVM 21.1.8 is the last planned release in the LLVM 21.1.x line.
    • Maintenance fixes include corrections in ExtractAPI typedef formatting, the SelectOptimize pass for large integer immediates, and the WebAssembly back end (handling of locals).
    • ClangFormat includes regression and crash fixes for star annotation before lambdas, AlignArrayOfStructures, and qualifier placement with override.
    • The Realtime Sanitizer (RTSan) handles attributed IR function declarations more reliably.
    • Compiler-rt includes a sanitizer build fix for 32-bit x86 on Haiku. This change does not affect typical Red Hat Enterprise Linux builds but reflects upstream stabilization.
  • LLVM 21 (when you migrate from LLVM Toolset 20):

    • LLVM 21 introduces IR and attribute updates, including replacing nocapture with captures(none) in LLVM IR. Bitcode is upgraded automatically; tools that parse LLVM IR as text might need updates.
    • Clang and the LLVM back ends include further C and C++ conformance work, target-specific improvements, and debugger updates. Review the upstream notes if you rely on specific language options, warning behavior, or CPU tuning models.

For LLVM 21.1.8 source and the list of cherry-picked changes, see the LLVM 21.1.8 release announcement and the llvmorg-21.1.8 tag on GitHub. For the LLVM 21.1 feature set, see the LLVM release notes and Clang release notes.

LLVM Toolset is a rolling Application Stream, and only the latest version is supported. For more information, see the Red Hat Enterprise Linux Application Streams Life Cycle document.

Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

关于红帽文档

Legal Notice

Theme

© 2026 Red Hat
返回顶部