llvm-project/llvm
Peter Collingbourne 4d0f6e1a1a gn build: Rename llvm_host_triple to llvm_current_triple and have it use current_{cpu,os}.
This makes e.g. ToolChain::isCrossCompiling() in
clang/lib/Driver/ToolChain.cpp return the correct result
if the compiler was cross-compiled. This change also affects
llvm_default_target_triple, so cross-compiled compilers default to
targeting the cross-compilation target, which makes more sense than
the host that the compiler was compiled on.

This change will also be necessary in order for the correct triples
to appear in generated lit files for non-native targets.

Differential Revision: https://reviews.llvm.org/D56696

llvm-svn: 351168
2019-01-15 08:20:29 +00:00
..
benchmarks
bindings Revert "Fix go bindings for r350647: missed a function rename" 2019-01-10 01:51:54 +00:00
cmake [CMake] Export utility targets to the build/install tree depending on LLVM_BUILD/INSTALL_UTILS 2019-01-11 19:34:34 +00:00
docs Update GettingStarted guide to recommend that people use the new 2019-01-14 22:27:32 +00:00
examples Python compat - print statement 2019-01-03 14:11:33 +00:00
include [WebAssembly] Support multilibs for wasm32 and add a wasm OS that uses it 2019-01-15 06:58:13 +00:00
lib [WebAssembly] Support multilibs for wasm32 and add a wasm OS that uses it 2019-01-15 06:58:13 +00:00
projects [pstl] Initial integration with LLVM's CMake 2018-12-21 15:59:04 +00:00
resources
runtimes
test [X86] Upgrade some avx512bw shift intrinsics that were removed a while ago. NFC 2019-01-15 07:15:20 +00:00
tools [llvm-ar] Flatten thin archives. 2019-01-14 21:11:46 +00:00
unittests [WebAssembly] Support multilibs for wasm32 and add a wasm OS that uses it 2019-01-15 06:58:13 +00:00
utils gn build: Rename llvm_host_triple to llvm_current_triple and have it use current_{cpu,os}. 2019-01-15 08:20:29 +00:00
.arcconfig
.clang-format
.clang-tidy
.gitattributes
.gitignore Git ignore CLion project configuration files. NFC 2019-01-02 19:58:07 +00:00
CMakeLists.txt [CMake] Add libunwind when 'all' is being passed as LLVM_ENABLE_PROJECTS 2018-12-20 18:39:47 +00:00
CODE_OWNERS.TXT [llvm-mca] Move llvm-mca library to llvm/lib/MCA. 2018-12-17 08:08:31 +00:00
CREDITS.TXT
LICENSE.TXT
LLVMBuild.txt
README.txt
RELEASE_TESTERS.TXT Update the list of platforms & archs 2018-12-16 14:47:16 +00:00
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.