[PATCH] D127142: [HIP] Link with clang_rt.builtins

Fangrui Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 6 12:09:05 PDT 2022


MaskRay added inline comments.


================
Comment at: clang/lib/Driver/ToolChains/MSVC.cpp:485
                   "amdhip64.lib"});
+  CmdArgs.push_back(Args.MakeArgString("clang_rt.builtins-" +
+                                       getTriple().getArchName() + ".lib"));
----------------
Note that the path is different with LLVM_ENABLE_PER_TARGET_RUNTIME_DIR=on. See D107799


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

https://reviews.llvm.org/D127142



More information about the cfe-commits mailing list