[PATCH] D91442: [clang][Driver] Handle risvc in Baremetal.cpp.

Hafiz Abid Qadeer via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Nov 13 10:10:17 PST 2020


abidh added a comment.

In D91442#2394513 <https://reviews.llvm.org/D91442#2394513>, @jrtc27 wrote:

> We use pure LLVM toolchains so improving support for that out of the box is good in my books. However, I do worry this is going to cause friction for a lot of people using LLVM for RISC-V; my understanding is that most use LLVM with a GNU sysroot and binutils, and so this looks like it will break their setups. Is there anything that can be done to automatically detect such cases? What does Arm do here?

That was one of my concern too. Unlike riscv, Arm does not have an explicit check so it falls in the default where it picks Baremetal.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D91442



More information about the cfe-commits mailing list