================
@@ -79,13 +85,63 @@ IncrementalHIPDeviceParser::GenerateDeviceObject() {
   return llvm::StringRef(ObjectContent.data(), ObjectContent.size());
 }
 
+llvm::Expected<llvm::StringRef>
+IncrementalHIPDeviceParser::GenerateHSACO(llvm::StringRef Object) {
+  std::string Exe = llvm::sys::fs::getMainExecutable(nullptr, nullptr);
----------------
yxsamliu wrote:

Could we use the linker path chosen by Clang? This search ignores `-B` and 
`--ld-path`, so it may miss the requested `ld.lld` or pick a different one.

https://github.com/llvm/llvm-project/pull/235614
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to