Manual-sync mirror of chromium.googlesource.com/external/github.com/llvm/llvm-project (bare monorepo, no subtree suffix)
Find a file
Mehdi Amini 91b6c73a4f
[unittest] Use TempDir() in gtest death-test stream capture on Linux (#194142)
gtest's CapturedStream on Linux hardcoded /tmp/ for its temp file
without consulting the environment, causing failures in sandboxed
environments where /tmp is read-only. Use TempDir() instead, which
checks TEST_TMPDIR then TMPDIR and falls back to /tmp/, matching the
behavior already present on Android and macOS/iOS.

See also upstream PR: https://github.com/google/googletest/pull/4962

Assisted-by: Claude Code
2026-04-28 21:36:07 +02:00
.ci [CI] Fix cross-project-tests dependencies (#193323) 2026-04-21 22:37:08 +00:00
.github workflows/issue-subscriber: Use a GitHub app token (#194073) 2026-04-27 11:03:13 -07:00
bolt [BOLT][AArch64] Refuse to run IndirectCallPromotion pass (#194363) 2026-04-28 18:39:15 +01:00
clang Fix test added in 849de61 to work when the compiler defaults to C++20. (#193361) 2026-04-28 12:17:40 -07:00
clang-tools-extra [clang-tidy] Fix UB in SuspiciousIncludeCheck when IgnoredRegex is not set (#194521) 2026-04-27 22:31:12 -07:00
cmake [runtimes][CMake] Move Fortran support code from flang-rt (#171610) 2026-04-21 10:58:43 +00:00
compiler-rt [NFC][cfi] Update diagnostic tests for better location matching (#194557) 2026-04-28 17:55:18 +00:00
cross-project-tests [cross-project-tests] Add llvm-modextract as a dependency (#193296) 2026-04-21 14:06:12 -07:00
flang [flang][NFC] Converted five tests from old lowering to new lowering (part 52) (#194525) 2026-04-28 13:21:43 -04:00
flang-rt [flang] [flang-rt] Implement AT edit descriptor for Fortran 202X with appropriate handling and tests (#189157) 2026-04-24 12:47:41 -05:00
libc [libc][NFC] Move sys/ucontext.h to YAML generation (#194573) 2026-04-28 13:29:08 +00:00
libclc [libclc] Only check the triple architecture for libclc (#194149) 2026-04-25 20:52:20 -05:00
libcxx [libc++] Improvements to the benchmark runners (#194659) 2026-04-28 11:50:06 -04:00
libcxxabi libcxxabi: declare __gnu_unwind_frame in cxa_personality (#189787) 2026-04-27 09:35:24 +02:00
libsycl [Offload][libsycl][clang-sycl-linker] Simplify SYCL Offload wrapping (#193876) 2026-04-27 14:43:33 -07:00
libunwind [libunwind] fix build errors on x32 and mips n32 (#194310) 2026-04-27 15:32:47 +02:00
lld [NFC][lld] Avoid hex address case sensitivity in fill-trap tests (#194037) 2026-04-24 19:46:58 +00:00
lldb [lldb][windows] skip ConPTY tests on ARM64 Windows (#194688) 2026-04-28 20:06:51 +01:00
llvm [CAS] Retry blocking syscalls on EINTR (#194691) 2026-04-28 12:31:43 -07:00
llvm-libgcc [Runtimes] Introduce variables containing resource dir paths (#177953) 2026-04-02 10:32:14 +00:00
mlir [OpenMPIRBuilder] Cast device num_threads to i32 for __kmpc_parallel_60 (#194634) 2026-04-28 17:46:19 +01:00
offload Revert "[Flang][OpenMP] Clear close on descriptor members for box parents in USM" (#194568) 2026-04-28 11:17:46 +02:00
openmp [Flang][OpenMP] Validate omp_initial_device omp_invalid_device as device IDs (#193669) 2026-04-28 21:31:04 +05:30
orc-rt [orc-rt] Sink include into implementation file. (#194379) 2026-04-28 15:12:03 +10:00
polly [SCEVExp] Use Builder.CreateBinOp in InsertBinOp. (#154148) 2026-04-25 17:08:20 +01:00
runtimes [Runtimes] Allow HandleLibc.cmake to be called multiple times (#193540) 2026-04-22 18:16:50 +00:00
third-party [unittest] Use TempDir() in gtest death-test stream capture on Linux (#194142) 2026-04-28 21:36:07 +02:00
utils/bazel [Bazel] Fixes 412d474 (#194598) 2026-04-28 06:28:35 -06:00
.clang-format Enforce Unix line endings for Clang/LLVM/MLIR projects (#161460) 2025-10-02 06:09:12 -07:00
.clang-format-ignore
.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-tidy][NFC] Add clang-tidy formatting commit to .git-blame-ignore-revs (#167126) 2025-11-20 21:42:10 +08:00
.gitattributes [libclang/python] Enable packaging clang python bindings (#125806) 2025-11-24 17:21:24 -08:00
.gitignore [llvm][.gitignore] Ignore .agents directory (#194236) 2026-04-27 20:45:53 +08:00
.mailmap [mailmap] Add mailmap entry for myself (#189447) 2026-03-30 18:35:34 +00:00
CODE_OF_CONDUCT.md
CONTRIBUTING.md
LICENSE.TXT
pyproject.toml [lldb] Configure pyright to the documented minimum python version (#162952) 2025-11-20 10:30:22 -08:00
README.md
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.