[llvm] [BOLT] Enable cross compilation of runtime libraries (PR #101180)

Peter Waller via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 2 08:32:05 PDT 2024


================
@@ -37,23 +38,40 @@ std::string RuntimeLibrary::getLibPathByToolPath(StringRef ToolPath,
     LibPath = llvm::sys::path::parent_path(llvm::sys::path::parent_path(Dir));
     llvm::sys::path::append(LibPath, "lib" LLVM_LIBDIR_SUFFIX);
   }
+  llvm::sys::path::append(LibPath, ToolSubPath);
+
----------------
peterwaller-arm wrote:

Nit. Line break.

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


More information about the llvm-commits mailing list