llvm-project/llvm
Peter Collingbourne 096477e25e gn build: Use target OS to control whether to use/depend on llvm-ar.
When cross-compiling from Mac to non-Mac, we need to use the just-built
llvm-ar instead of libtool. We're currently doing the right thing
when determining which archiver command to use, but the path to ar
and the toolchain dependencies were being set based on the host OS
(current_os evaluated in host OS toolchain), instead of the target
OS. Fix the problem by looking up current_os inside toolchain_args.

Differential Revision: https://reviews.llvm.org/D123244
2022-04-06 13:45:40 -07:00
..
benchmarks
bindings [NFC] Fix go binding build 2022-03-14 14:08:51 +08:00
cmake Revert "[CodeGen] Place SDNode debug ID declaration under appropriate #if" 2022-04-06 20:32:53 +03:00
docs [docs] Fix Kaleidoscope code example 2022-04-06 10:41:10 +01:00
examples Reland "[ELF] Enable new passmanager plugin support for LTO" 2022-03-24 16:29:18 +01:00
include [demangler][NFC] Rename SwapAndRestore to ScopedOverride 2022-04-06 12:55:35 -07:00
lib [demangler][NFC] Rename SwapAndRestore to ScopedOverride 2022-04-06 12:55:35 -07:00
projects
resources
runtimes Revert "[runtimes] Create Tests.cmake if it does not exist" 2022-04-01 09:29:54 -07:00
test [AArch64] Fix the upper limit for folded address offsets for COFF 2022-04-06 22:54:13 +03:00
tools Add the /nologo flag to llvm-ml 2022-04-06 19:47:47 +02:00
unittests [Support/Hash functions] Change the `final()` and `result()` of the hashing functions to return an array of bytes 2022-04-05 21:38:06 -07:00
utils gn build: Use target OS to control whether to use/depend on llvm-ar. 2022-04-06 13:45:40 -07:00
.clang-format
.clang-tidy
.gitattributes
.gitignore
CMakeLists.txt [cmake] Remove LLVM_ENABLE_NEW_PASS_MANAGER cmake option 2022-04-06 09:52:21 +02:00
CODE_OWNERS.TXT [CODE_OWNERS/CREDITS] Update my email address 2022-03-16 21:07:15 +00:00
CREDITS.TXT [CODE_OWNERS/CREDITS] Update my email address 2022-03-16 21:07:15 +00:00
LICENSE.TXT
README.txt
RELEASE_TESTERS.TXT
configure
llvm.spec.in

README.txt

The LLVM Compiler Infrastructure
================================

This directory and its subdirectories contain source code for LLVM,
a toolkit for the construction of highly optimized compilers,
optimizers, and runtime environments.

LLVM is open source software. You may freely distribute it under the terms of
the license agreement found in LICENSE.txt.

Please see the documentation provided in docs/ for further
assistance with LLVM, and in particular docs/GettingStarted.rst for getting
started with LLVM and docs/README.txt for an overview of LLVM's
documentation setup.

If you are writing a package for LLVM, see docs/Packaging.rst for our
suggestions.