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

Chapter 5. Changes in Clang and LLVM Toolset in Red Hat Developer Tools 2018.2


This chapter lists some notable changes in Clang and LLVM Toolset since its previous release.

5.1. LLVM

LLVM has been updated from version 4.0.1 to 5.0.1. Notable changes include:

  • The libFuzzer library has been added to the llvm-toolset-7-compiler-rt package. As a result, developers can use fuzzing techniques to discover bugs in source code.
  • Support for the AMD Radeon GFX9 GPU architecture has been added to the AMDGPU backend.
  • Support for retpoline generation based on the upstream LLVM release version 5.0.2 has been added. As a result, code generated by LLVM can mitigate the Spectre v2 attack. (BZ#1553518)
  • Fix introduced to reduce stack usage in Rust programs. Rust issue: https://github.com/rust-lang/rust/issues/40883

5.2. clang

clang has been updated from version 4.0.1 to 5.0.1. Notable changes include:

  • An implementation of the C++ coroutines Technical Specification has been added.
  • Support for the C++17 standard of the C++ language has been added.
  • A GNU extension for explicit vector to scalar conversion has been added.

Additionally, the following bugs have been fixed:

  • Previously, the clang(1) manual page was not included in the llvm-toolset-7-clang package and was not available to users. The manual page has been included and is now available with every installation of Clang and LLVM Toolset. To view this manual page:

    $ scl enable llvm-toolset-7 'man clang'
    Copy to Clipboard Toggle word wrap

    (BZ#1493560)

5.3. Container Image

Notable changes include:

  • Source-to-Image (S2I) support has been added to the llvm-toolset-7-rhel7 container image. As a result, S2I can be used to build C and C++ application containers. (BZ#1535052)
返回顶部
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。 了解我们当前的更新.

让开源更具包容性

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

關於紅帽

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

Theme

© 2025 Red Hat