[llvm-branch-commits] [clang] [Driver] Change linker job in Baremetal toolchain object accomodate GCCInstallation.(2/3) (PR #121830)

Craig Topper via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon Jan 13 23:21:37 PST 2025


================
@@ -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(); }
----------------
topperc wrote:

Does this need to be virtual?

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


More information about the llvm-branch-commits mailing list