================ @@ -36,6 +36,7 @@ class LLVM_LIBRARY_VISIBILITY BareMetal : public Generic_ELF { Tool *buildStaticLibTool() const override; public: + virtual bool isUsingLD() const { return UseLD || GCCInstallation.isValid(); } ---------------- quic-garvgupt wrote:
There was a request in the original PR that there is some downstream toolchain that inherits from Baremetal toolchain and defaults to LLD. Therefore I made this virtual so that it cab be overridden however, in the recent patchset I have removed it since there is no need for it in community and can easily be maintained downstream. https://github.com/llvm/llvm-project/pull/121830 _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits