LLVM Toolset for C and C++

Compile, debug, and analyze C and C++ applications on Red Hat Enterprise Linux with LLVM Toolset (Clang and LLDB). Use the system GCC toolchain or GCC Toolset when you need gcc, g++, or gdb.

LLVM Toolset components

LLVM Toolset provides Clang, LLDB, LLVM, compiler-rt, libomp, LLD, and python-lit for compiling, linking, and debugging C and C++ code. Each package in this release is version 21.1.8.

Table 1. Packages included in LLVM Toolset
Name Version Description

clang

21.1.8

An LLVM compiler front end for C and C++.

lldb

21.1.8

A C and C++ debugger using portions of LLVM.

compiler-rt

21.1.8

Runtime libraries for LLVM and Clang.

llvm

21.1.8

A collection of modular and reusable compiler and toolchain technologies.

libomp

21.1.8

A library for using the OpenMP API for parallel programming.

lld

21.1.8

An LLVM linker.

python-lit

21.1.8

A software testing tool for LLVM- and Clang-based test suites.

Note

The CMake build manager is not part of LLVM Toolset. CMake is available in the system repository. For more information on how to install CMake, see Install the CMake build manager.

LLVM Toolset compatibility

You can use LLVM Toolset on Red Hat Enterprise Linux on AMD and Intel 64-bit (x86_64) and 64-bit ARM (aarch64) systems. You can also use it on IBM Power Systems, Little Endian (ppc64le), and 64-bit IBM Z (s390x) systems.