]> granicus.if.org Git - clang/commit
[RISCV] Collect library directories and triples for riscv64 triple too
authorAlex Bradbury <asb@lowrisc.org>
Thu, 4 Apr 2019 14:18:26 +0000 (14:18 +0000)
committerAlex Bradbury <asb@lowrisc.org>
Thu, 4 Apr 2019 14:18:26 +0000 (14:18 +0000)
commit35026dff4f76858540c9b5e2441a8aa290ecba1c
tree1ea71c17907f84871a90fba78e8b89df5b1fb5d7
parentef11818ff8f16fc964f48e10e21189d35ae51df0
[RISCV] Collect library directories and triples for riscv64 triple too

When setting up library and tools paths when detecting an accompanying GCC
installation only riscv32 was handled. As a consequence when targetting
riscv64 neither the linker nor libraries would be found. This adds handling
and tests for riscv64.

Differential Revision: https://reviews.llvm.org/D53392
Patch by Edward Jones.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@357699 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/ToolChains/Gnu.cpp
test/Driver/Inputs/basic_riscv64_tree/bin/riscv64-unknown-elf-ld [new file with mode: 0755]
test/Driver/Inputs/basic_riscv64_tree/riscv64-unknown-elf/include/c++/8.0.1/.keep [new file with mode: 0644]
test/Driver/riscv64-toolchain.c