Ce contenu n'est pas disponible dans la langue sélectionnée.

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)
Retour au début
Red Hat logoGithubredditYoutubeTwitter

Apprendre

Essayez, achetez et vendez

Communautés

À propos de la documentation Red Hat

Nous aidons les utilisateurs de Red Hat à innover et à atteindre leurs objectifs grâce à nos produits et services avec un contenu auquel ils peuvent faire confiance. Découvrez nos récentes mises à jour.

Rendre l’open source plus inclusif

Red Hat s'engage à remplacer le langage problématique dans notre code, notre documentation et nos propriétés Web. Pour plus de détails, consultez le Blog Red Hat.

À propos de Red Hat

Nous proposons des solutions renforcées qui facilitent le travail des entreprises sur plusieurs plates-formes et environnements, du centre de données central à la périphérie du réseau.

Theme

© 2026 Red Hat