[llvm-branch-commits] [clang] [RISCV] Integrate RISCV target in baremetal toolchain object and deprecate RISCVToolchain object (PR #121831)
Petr Hosek via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Tue Mar 25 23:20:36 PDT 2025
================
@@ -54,12 +54,11 @@ class LLVM_LIBRARY_VISIBILITY BareMetal : public Generic_ELF {
return UnwindTableLevel::None;
}
- RuntimeLibType GetDefaultRuntimeLibType() const override {
- return ToolChain::RLT_CompilerRT;
- }
- CXXStdlibType GetDefaultCXXStdlibType() const override {
- return ToolChain::CST_Libcxx;
- }
+ CXXStdlibType GetDefaultCXXStdlibType() const override;
+
+ RuntimeLibType GetDefaultRuntimeLibType() const override;
+
+ UnwindLibType GetUnwindLibType(const llvm::opt::ArgList &Args) const override;
----------------
petrhosek wrote:
These changes would ideally be separate from the final removal of the `RISCVToolchain` at which point that should be effectively a no-op.
https://github.com/llvm/llvm-project/pull/121831
More information about the llvm-branch-commits
mailing list