[PATCH] D51899: Remove extraneous ".a" suffix from baremetal clang_rt.builtins when compiling for baremetal.

Fangrui Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 22 23:03:19 PDT 2019


MaskRay added inline comments.


================
Comment at: lib/Driver/ToolChains/BareMetal.cpp:159
                                   ArgStringList &CmdArgs) const {
   CmdArgs.push_back(Args.MakeArgString("-lclang_rt.builtins-" +
+                                       getTriple().getArchName()));
----------------
Ideally this should call `ToolChain::getCompilerRTArgString` to get an absolute path.


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

https://reviews.llvm.org/D51899





More information about the cfe-commits mailing list