[Clang] Enable RISC-V support for Fuchsia
authorPetr Hosek <phosek@google.com>
Wed, 20 Nov 2019 03:56:54 +0000 (19:56 -0800)
committerPetr Hosek <phosek@google.com>
Fri, 22 Nov 2019 00:02:26 +0000 (16:02 -0800)
commit68a3a3b28130ff055159632e8f94ef87fa8cba45
tree3424babe04ed60522533fced3d153e022cacbe9a
parent46c7fc22cfb14a5b4445261c3ae849242f4d2ff9
[Clang] Enable RISC-V support for Fuchsia

We don't have a full sysroot yet, so for now we only include compiler
support and compiler-rt builtins, the rest of the runtimes will get
enabled later.

Differential Revision: https://reviews.llvm.org/D70477
clang/cmake/caches/Fuchsia-stage2.cmake
clang/cmake/caches/Fuchsia.cmake
clang/lib/Basic/Targets.cpp
clang/lib/Driver/ToolChains/Fuchsia.cpp
clang/test/Driver/Inputs/resource_dir_with_per_target_subdir/lib/riscv64-fuchsia/libclang_rt.builtins.a [new file with mode: 0644]
clang/test/Driver/fuchsia.c
clang/test/Driver/fuchsia.cpp