[llvm-ar] Enable failed testacase on FreeBSD (#192612) FreeBSD used to allow the read system call on directory file descriptors (dirfd). In those cases, it returned the internal file data structure instead of failing. This caused the llvm-ar test— which expects a failure when attempting to read a directory— to pass incorrectly. This behavior existed for compatibility with older Unix implementations, but it was removed in commit dcef4f65ae3978c50eab745f67364db4660a9f43. The change applies to FreeBSD 13 and later. Since FreeBSD 12 has also reached end-of-life, the outdated behavior is no longer relevant. As a result, the test now behaves as intended and can be safely re-enabled.
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.
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.
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.