[clang] [RISCV] Merging RISCVToolChain and BareMetal toolchains (PR #118809)

Craig Topper via cfe-commits cfe-commits at lists.llvm.org
Thu Dec 5 17:05:55 PST 2024


================
@@ -103,7 +112,12 @@ class LLVM_LIBRARY_VISIBILITY StaticLibTool : public Tool {
 
 class LLVM_LIBRARY_VISIBILITY Linker final : public Tool {
 public:
-  Linker(const ToolChain &TC) : Tool("baremetal::Linker", "ld.lld", TC) {}
+  Linker(const ToolChain &TC)
----------------
topperc wrote:

Is it possible to make this argument `toolchains::BareMetal &` to avoid the static_cast?

https://github.com/llvm/llvm-project/pull/118809


More information about the cfe-commits mailing list