Manual-sync mirror of chromium.googlesource.com/external/github.com/llvm/llvm-project (bare monorepo, no subtree suffix)
Find a file
Jackson Stogel 4b9d7e167b
Reapply "[libc] Return errno from OFD failure paths in fcntl." (#166658) (#166846)
The previous implementation in #166252 (rolled back in #166658) caused
buildbot failures due to a bug in an added test. The modified
`UseAfterClose` did not pass a `struct flock` value to `fcntl`:


2d51705941/libc/test/src/fcntl/fcntl_test.cpp (L175)

Which ASAN caught and errored in the `fcntl` implementation when the
unspecified argument was accessed:


c12cb2892c/libc/src/__support/OSUtil/linux/fcntl.cpp (L59)
2025-11-10 13:39:34 -08:00
.ci Reapply "[CI] Make premerge_advisor_explain write comments" (#167198) 2025-11-10 11:57:35 -08:00
.github Reapply "[CI] Make premerge_advisor_explain write comments" (#167198) 2025-11-10 11:57:35 -08:00
bolt [BOLT][AArch64] Add more heuristics on epilogue determination (#167077) 2025-11-10 09:50:44 -08:00
clang [OpenMP][Clang] Add codegen support for dyn_groupprivate clause (#152830) 2025-11-10 13:11:03 -08:00
clang-tools-extra Reland "[clang] Refactor option-related code from clangDriver into new clangOptions library" (#167374) 2025-11-10 21:24:39 +01:00
cmake [CMake][gRPC] Update FindGRPC.cmake to support newer gRPC versions (#162935) 2025-10-15 13:14:14 -07:00
compiler-rt Revert "Reapply "[compiler-rt] Default to Lit's Internal Shell"" 2025-11-09 08:03:52 +00:00
cross-project-tests Wasm fmuladd relaxed (#163177) 2025-10-13 16:50:53 +01:00
flang Reland "[clang] Refactor option-related code from clangDriver into new clangOptions library" (#167374) 2025-11-10 21:24:39 +01:00
flang-rt [flang][runtime] Allow some list-directed child output to advance (#166847) 2025-11-07 08:42:04 -08:00
libc Reapply "[libc] Return errno from OFD failure paths in fcntl." (#166658) (#166846) 2025-11-10 13:39:34 -08:00
libclc [NFC][libclc] Rename clc_cbrt.inc to clc_cbrt.h (#166330) 2025-11-05 08:20:29 +08:00
libcxx [libc++] Inline vector::__append into resize (#162086) 2025-11-10 20:02:54 +01:00
libcxxabi [libc++abi][NFC] Remove some cruft from <__cxxabi_config.h> (#164578) 2025-11-10 20:04:26 +01:00
libsycl [SYCL] Add libsycl, a SYCL RT library implementation project (#144372) 2025-07-31 11:28:39 -07:00
libunwind [libc++abi][libunwind] Enable AT&T syntax explicitly (#166818) 2025-11-08 10:20:13 -10:00
lld [lld][WebAssembly] Default to --stack-first (#166998) 2025-11-08 00:27:06 +00:00
lldb [LLDB] Fix (more) darwin shell tests under ASAN 2025-11-10 13:25:44 -08:00
llvm [AMDGPU] Remove calling conv check on entry function (#162080) 2025-11-10 16:27:55 -05:00
llvm-libgcc
mlir [ROCDL] Added matrix load-transpose ops for gfx1250+ (#165564) 2025-11-10 18:03:03 +01:00
offload [PGO][Offload] Fix missing names bug in GPU PGO (#166444) 2025-11-10 10:11:53 -06:00
openmp [Offload] Remove handling for device memory pool (#163629) 2025-11-06 10:15:18 -06:00
orc-rt [orc-rt] Add endian_read/write operations. (#166892) 2025-11-07 18:25:04 +11:00
polly [Polly] Retain vectorization for fallback loop when RTC is unsatisfiable (#165525) 2025-11-10 13:48:15 +05:30
runtimes [Runtimes][CMake] Add CMake option to enable execute-only code generation on AArch64 (#143698) 2025-11-07 09:36:00 +01:00
third-party [C2y] Support WG14 N3457, the __COUNTER__ macro (#162662) 2025-11-03 07:50:25 -05:00
utils/bazel [bazel][clang] Port #167374: split clang options/driver (#167387) 2025-11-10 20:56:59 +00:00
.clang-format Enforce Unix line endings for Clang/LLVM/MLIR projects (#161460) 2025-10-02 06:09:12 -07:00
.clang-format-ignore Add empty top level .clang-format-ignore (#136022) 2025-04-16 15:48:30 -07:00
.clang-tidy Format root clang-tidy config (NFC) (#147902) 2025-07-11 07:18:29 +03:00
.git-blame-ignore-revs Revert "Update .git-blame-ignore-revs for Pack/Unpack move (#152469)" (#152661) 2025-08-10 17:02:35 +01:00
.gitattributes Revert "Finally formalise our defacto line-ending policy" 2024-10-18 21:16:24 +01:00
.gitignore [llvm] Ignore coding assistant artifacts (#153853) 2025-08-15 12:27:54 -07:00
.mailmap [mailmap] Update my name 2025-04-14 16:54:14 +08:00
CODE_OF_CONDUCT.md
CONTRIBUTING.md [www][docs] Remove last mentions of IRC (#139076) 2025-05-08 09:40:33 -04:00
LICENSE.TXT
pyproject.toml
README.md
SECURITY.md

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.