[PATCH] D53392: [RISCV] Collect library directories and triples for riscv64 triple too
Edward Jones via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Oct 18 05:37:22 PDT 2018
edward-jones created this revision.
edward-jones added a reviewer: asb.
Herald added subscribers: cfe-commits, jocewei, PkmX, rkruppe, the_o, brucehoult, MartinMosbeck, rogfer01, mgrang, zzheng, jrtc27, shiva0217, kito-cheng, niosHD, sabuasal, apazos, simoncook, johnrusso, rbar, arichardson, emaste.
Herald added a reviewer: espindola.
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.
Repository:
rC Clang
https://reviews.llvm.org/D53392
Files:
lib/Driver/ToolChains/Gnu.cpp
test/Driver/Inputs/basic_riscv64_tree/bin/riscv64-unknown-elf-ld
test/Driver/Inputs/basic_riscv64_tree/lib/gcc/riscv64-unknown-elf/8.0.1/crtbegin.o
test/Driver/Inputs/basic_riscv64_tree/lib/gcc/riscv64-unknown-elf/8.0.1/crtend.o
test/Driver/Inputs/basic_riscv64_tree/riscv64-unknown-elf/include/c++/8.0.1/.keep
test/Driver/Inputs/basic_riscv64_tree/riscv64-unknown-elf/lib/crt0.o
test/Driver/riscv64-toolchain.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D53392.170070.patch
Type: text/x-patch
Size: 10326 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20181018/a29e2ecf/attachment.bin>
More information about the cfe-commits
mailing list