[PATCH] D91442: [clang][Driver] Handle risvc in Baremetal.cpp.
Hafiz Abid Qadeer via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Nov 17 03:40:29 PST 2020
abidh added a comment.
In D91442#2399200 <https://reviews.llvm.org/D91442#2399200>, @lenary wrote:
> I'm worried about this change - I *think* it doesn't cover the existing behaviour of a baremetal GCC toolchain being installed into the same prefix as clang, and clang automatically picking up that baremetal gcc toolchain. What should we expect to do here? This is especially an issue if you're trying to make a relocatable toolchain tarball, where specifying `--gcc-toolchain` automatically is difficult.
Would it be possible to use a relative path with --gcc-toolchain then this can be checked in either RISCVToolChain.cpp or GNU.cpp and adjusted accordingly?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D91442/new/
https://reviews.llvm.org/D91442
More information about the cfe-commits
mailing list