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)
Back to top
Red Hat logoGithubredditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust. Explore our recent updates.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

Theme

© 2025 Red Hat