The LLVM Project is a collection of modular and reusable compiler and toolchain technologies. http://llvm.org
  • LLVM 44.1%
  • C++ 29%
  • C 11.9%
  • Assembly 9.6%
  • MLIR 1.9%
  • Other 3%
Find a file
Vladimir Vereschaka 3199fdbd09
[CMake] LibXml2 pkg module adjustments for Libxml2Static and Windows targets. (#244503)
There are few adjustments in LibXml2 module to properly handle the
static libxml2 library usage for the Windows targets.

* provide LIBXML2_STATIC compiler definition for LibXml2::LibXml2Static
package, also for LibXml2::LibXml2 is only the static version has been
found.
* add required bcrypt.lib on Windows when the static libxml2 version is
used (or requested).

---------

Co-authored-by: Charles Zablit <c_zablit@apple.com>
2026-12-03 12:34:01 -08:00
.ci [green-dragon] Add log rotation rule to relay jobs (#240813) 2026-11-12 08:00:47 -08:00
.github [libc++][ci] Build the libstdc++ benchmarks with TBB and enable PSTL in this config (#243119) 2026-12-03 11:58:47 +00:00
bolt [BOLT][DOCS][NFC] Document --no-relax linker option to produce binary… (#244309) 2026-12-03 15:40:32 +00:00
clang [CIR] Remove unused TBAATypeDescriptorAttr::getFromOpaquePointer (NFC) (#248148) 2026-12-03 12:22:47 -08:00
clang-tools-extra [clangd] Avoid C++ name qualification in C (#242500) 2026-12-03 09:36:47 +03:00
cmake [CMake] Drop redundant policy flags 2026-11-23 15:41:35 -08:00
compiler-rt [sanitizer_common] Wait for the tracer with CLONE_CHILD_CLEARTID (#248327) 2026-12-03 10:45:21 -08:00
cross-project-tests [LLDB][NFC] Add missing python requirements to tests (#243070) 2026-12-01 16:30:00 +01:00
flang [flang][Frontend] Add -fexperimental-openacc-exec (#247270) 2026-12-03 18:08:11 +00:00
flang-rt [flang-rt] Avoid recursion through BeginReadingRecord on the device (#248582) 2026-12-03 11:16:14 -08:00
libc [libc] Cache vdso::TypedSymbol and skip CFI checks (#247804) 2026-12-03 19:57:20 +00:00
libclc [libclc] Fix __clc_mad_sat for 64-bit signed integers (#246034) 2026-12-02 17:51:03 +08:00
libcxx [runtimes] Apply shared CMake policies in libcxx, libcxxabi and libunwind (#246978) 2026-12-03 15:26:03 -05:00
libcxxabi [runtimes] Apply shared CMake policies in libcxx, libcxxabi and libunwind (#246978) 2026-12-03 15:26:03 -05:00
libsycl [Clang][SYCL] Call sycl_kernel_launch with a kernel info type rather than a kernel name type. (#208958) 2026-11-30 22:15:05 -05:00
libunwind [runtimes] Apply shared CMake policies in libcxx, libcxxabi and libunwind (#246978) 2026-12-03 15:26:03 -05:00
lld [COFF] Speed up ICF by hashing relocations and propagating over an edge list (#239794) 2026-12-03 14:35:28 -05:00
lldb [lldb] Remove forward and friend declarations of non-existent types (NFC) (#247992) 2026-12-03 12:22:36 -08:00
llvm [CMake] LibXml2 pkg module adjustments for Libxml2Static and Windows targets. (#244503) 2026-12-03 12:34:01 -08:00
llvm-libgcc [CMake] Bump the minimum required version to 3.31 (#223854) 2026-11-19 11:36:49 -08:00
mlir [mlir][Presburger] Do not pivot an empty Simplex (#247345) 2026-12-03 12:58:48 -07:00
offload [clang][OpenMP] Emit lastprivate final copies in no-loop kernels (#224045) 2026-12-03 12:33:43 -05:00
openmp [OpenMP] Detect atomic library requirements (#244783) 2026-12-02 20:19:11 -05:00
orc-rt [orc-rt] Install headers via a CMake file set. (#248335) 2026-12-03 15:46:59 +11:00
polly [llvm] Avoid more unnecessary Instruction casts for users() (NFC) (#247213) 2026-11-30 16:55:29 +00:00
runtimes [cmake][runtimes] Drop pre-CMake 3.28 Fortran workarounds (#246371) 2026-11-26 17:55:01 +02:00
third-party [SystemZ][z/OS] Turn on auto-conversion for captured steams in googletest (#233829) 2026-10-20 14:59:33 -04:00
utils [Bazel] Fixes 31b3a32 (#248635) 2026-12-03 11:58:41 -08:00
.clang-format Enforce Unix line endings for Clang/LLVM/MLIR projects (#161460) 2025-10-02 06:09:12 -07:00
.clang-format-ignore [Hexagon] Add relocation application helpers and use them in RuntimeDyld (#244507) 2026-12-02 23:15:50 -06:00
.clang-tidy Add default empty header filter regex to root .clang-tidy (#167386) 2025-11-11 01:36:25 +03:00
.git-blame-ignore-revs [clang][NFC] Add DeclSpec.h formatting to ignore revs (#239740) 2026-11-06 11:00:21 -08:00
.gitattributes [libclang/python] Enable packaging clang python bindings (#125806) 2025-11-24 17:21:24 -08:00
.gitignore gitignore: Add emacs lock files (#205055) 2026-06-22 18:19:29 +02:00
.mailmap [mailmap] Update email map for Qiu Chaofan (#232302) 2026-10-15 20:46:35 +08:00
CODE_OF_CONDUCT.md Add conduct email contact for the CODE_OF_CONDUCT page (#218787) 2026-08-25 23:05:17 +00:00
CONTRIBUTING.md
LICENSE.TXT
pyproject.toml [docs] Create utils/docs (#203962) 2026-06-24 15:12:48 -04:00
README.md [libc++] Rename pre-commit CI workflows (#211844) 2026-07-24 14:56:19 -04:00
SECURITY.md [SECURITY.md] add pointers to "what is a security issue" (#177372) 2026-01-22 17:19:09 -07:00

The LLVM Compiler Infrastructure

OpenSSF Scorecard OpenSSF Best Practices libc++

Welcome to the LLVM project!

This repository contains the source code for LLVM, a toolkit for the construction of highly optimized compilers, optimizers, and run-time environments.

The LLVM project has multiple components. The core of the project is itself called "LLVM". This contains all of the tools, libraries, and header files needed to process intermediate representations and convert them into object files. Tools include an assembler, disassembler, bitcode analyzer, and bitcode optimizer.

C-like languages use the Clang frontend. This component compiles C, C++, Objective-C, and Objective-C++ code into LLVM bitcode -- and from there into object files, using LLVM.

Other components include: the libc++ C++ standard library, the LLD linker, and more.

Getting the Source Code and Building LLVM

Consult the Getting Started with LLVM page for information on building and running LLVM.

For information on how to contribute to the LLVM project, please take a look at the Contributing to LLVM guide.

Getting in touch

Join the LLVM Discourse forums, Discord chat, LLVM Office Hours or Regular sync-ups.

The LLVM project has adopted a code of conduct for participants to all modes of communication within the project.