================
@@ -167,7 +167,14 @@ llvm::Error getDefaultAssetFiles(const char *Argv0,
 
   llvm::SmallString<128> AssetsPath;
   AssetsPath = llvm::sys::path::parent_path(NativeClangDocPath);
-  llvm::sys::path::append(AssetsPath, "..", "share", "clang-doc");
+  llvm::sys::path::append(AssetsPath, "..");
+  llvm::SmallString<128> tempCopyDbg;
+  llvm::sys::path::native(AssetsPath, tempCopyDbg);
+  llvm::sys::path::append(tempCopyDbg, "Debug");
----------------
llvm-beanz wrote:

Could this also be "Release"?

It seems like this should probably be built like the compiler resource 
directory is where the assets get installed into a known binary relative path.

https://github.com/llvm/llvm-project/pull/97505
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to