[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 08:54:32 PST 2020


abidh added a comment.

In D91442#2399772 <https://reviews.llvm.org/D91442#2399772>, @lenary wrote:

> I recall that there is also https://reviews.llvm.org/D68407 which iirc hoped to address using `RISCVToolchain` with Compiler-rt and libunwind - presumably it is not a complete solution, but it might be we want to use some checking of the GCCInstallation (like `RISCVToolChain::GetDefaultRuntimeLibType` does) to choose which toolchain to instantiate? I'm not sure if we can satisfy that ordering though.

But that function is not static and you need to instantiate the RISCVToolChain to use things like GCCInstallation.isValid().


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D91442/new/

https://reviews.llvm.org/D91442



More information about the cfe-commits mailing list