This change adds support for the riscv64-linux-gnu multiarch:
- library path in getMultiarchTriple
- include path in AddClangSystemIncludeArgs
With this change LLVM is able to find libraries and include files on a debian riscv64 system.
Many thanks for the patch. Could you please add some tests for this behaviour? I imagine you'll want to add a new directory in test/Driver/Inputs with a Debian tree skeleton. See D63497 for a relevant example.
Also, when submitting patches please try to generate the patch with -U99999 (see here) so we can see full context in the Phabricator Web UI.