commit | 44e4b27aec8639823030dd90eb04afa6545c8352 | [log] [tgz] |
---|---|---|
author | Lucas Duarte Prates <lucas.prates@arm.com> | Tue Mar 18 09:11:43 2025 +0000 |
committer | GitHub <noreply@github.com> | Tue Mar 18 09:11:43 2025 +0000 |
tree | 520a7d79f292a609c2291cd0713751ae7caf1b62 | |
parent | bd1be8a242384d98ef2087f4571b464e01501f5a [diff] |
[clang] Fix darwin-related tests' REQUIRES annotation (#130138) The tests updated by this commit were designed to check features in the clang's driver and index that require clang to be targgeting a darwin platform while running on a darwin host. For that, their execution is currently gated by the `REQUIRES: system-darwin` annotation. This approach becomes a problem when trying to run such tests on a cross-compiling build of clang on a darwin platform. When the default target is not darwin (e.g. via `LLVM_DEFAULT_TARGET_TRIPLE `), the tests will still run on a darwin host and fail spuriously because of the mismatch with the target detection. To fix this issue, this patch introduces an extra condition to the tests' REQUIRES annotation, `target={{.*}}-{{darwin|macos}}{{.*}}`, ensuring they only run when the relevant target is present.
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.