llvm with tablegen backend for capstone disassembler
Go to file
Martin Storsjö ba3bddb6f4 [libcxx] [test] Prepend to PATH instead of overriding it
On Windows, the PATH env variable is used for locating dynamically
linked librarys, akin to LD_LIBRARY_PATH on Linux.

The tests that run with a dynamically linked libc++ used "--env
PATH=%{lib}" in the test config. This had the unfortunate side effect
of making other tools from PATH unavailable during the runtime of the
tests; in particular, it caused the "executor-has-no-bash" flag to be
set for all those Windows test configs (with the clang-cl static config
being the only one lacking it).

Thus, this increases the number of tests actually included in the
clang-cl dll and all mingw test configs by 9 tests.

The clang-cl static test configuration has been executing those tests
since the "--env PATH=%{lib}" was removed from that test config in
e78223e79e. (For mingw we haven't had a
need to split the test config between shared and static, which means
that the mingw static test config previously ran with --env PATH
needlessly.)

This increases the test coverage for patches like D146398 which
can't be executed in the executor-has-no-bash configs.

Change the default value of the arg.env to an empty array; when we do
pass values to the option, they get passed as an array of strings,
so make sure the variable behaves consistently when no arguments
have been passed.

Differential Revision: https://reviews.llvm.org/D148324
2023-04-27 19:25:59 +03:00
.github workflows/release-binaries: Install missing dependencies 2023-04-20 08:21:53 -07:00
bolt [BOLT] Parallelize legacy profile merging 2023-04-27 15:37:14 +09:00
clang [RISCV] Remove support for attribute interrupt("user"). 2023-04-27 08:21:36 -07:00
clang-tools-extra [clangd] Fix the include-cleaner-batch-fix.test failure on some 2023-04-27 14:59:37 +02:00
cmake Revert "[CMake] Unify llvm_check_linker_flag and llvm_check_compiler_linker_flag" 2023-03-28 08:28:17 +00:00
compiler-rt [HWASAN] Use InTaggableRegion in basic tagging functions 2023-04-26 23:42:04 -07:00
cross-project-tests [Dexter] Add timeout options 2023-03-22 13:50:00 +00:00
flang [OpenMP][Flang][Semantics] Add semantics support for USE_DEVICE_PTR clause on OMP TARGET DATA directive. 2023-04-26 20:17:12 -05:00
libc [libc] Add a new target named LibcHermeticTestMain. 2023-04-26 23:10:16 +00:00
libclc Revert "Revert "Revert "[CMake] Bumps minimum version to 3.20.0.""" 2023-04-15 20:12:24 +02:00
libcxx [libcxx] [test] Prepend to PATH instead of overriding it 2023-04-27 19:25:59 +03:00
libcxxabi [libcxx] [test] Prepend to PATH instead of overriding it 2023-04-27 19:25:59 +03:00
libunwind [libcxx] [test] Prepend to PATH instead of overriding it 2023-04-27 19:25:59 +03:00
lld [LLD][ELF] Fix compressed-debug-level test on SystemZ 2023-04-27 17:49:32 +02:00
lldb [lldb] Create a way to force remove commands 2023-04-26 19:31:19 -05:00
llvm [AArch64] Regenerate trunc-to-tbl and zext-to-tbl tests. NFC 2023-04-27 17:21:13 +01:00
llvm-libgcc Revert "Revert "Revert "[CMake] Bumps minimum version to 3.20.0.""" 2023-04-15 20:12:24 +02:00
mlir [MLIR][EmitC] Add empty emitc.constant check 2023-04-27 16:03:53 +00:00
openmp Disable private mapping test for AMD GPU due to intermittent fails. 2023-04-25 10:20:30 -04:00
polly [Polly] Update polly test after SCEV changes 2023-04-27 16:09:08 +02:00
pstl Revert "Revert "Revert "[CMake] Bumps minimum version to 3.20.0.""" 2023-04-15 20:12:24 +02:00
runtimes Revert "Revert "Revert "[CMake] Bumps minimum version to 3.20.0.""" 2023-04-15 20:12:24 +02:00
third-party Remove an extra // in the IWYU pragma for gtest-matchers.h 2023-03-14 13:11:53 +01:00
utils [bazel][mlir] fix build for transform utils 2023-04-27 12:03:20 +02:00
.arcconfig
.arclint
.clang-format
.clang-tidy Add -misc-const-correctness to .clang-tidy 2022-08-08 13:00:52 -07:00
.git-blame-ignore-revs Add __config formatting to .git-blame-ignore-revs 2022-06-14 09:52:49 -04:00
.gitignore [llvm] Ignore .rej files in .gitignore 2022-04-28 08:44:51 -07:00
.mailmap Add entry to mailmap 2023-04-25 23:15:07 -07:00
CONTRIBUTING.md Added instruction to join the llvm discourse and discord group. 2023-03-27 17:02:07 -07:00
LICENSE.TXT [docs] Add LICENSE.txt to the root of the mono-repo 2022-08-24 09:35:00 +02:00
README.md [docs] Update README and GettingStarted 2023-03-08 12:55:59 -08:00
SECURITY.md

The LLVM Compiler Infrastructure

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, or #llvm IRC channel on OFTC.

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