[PATCH] D117619: [DebugInfod] Prefix debuginfod cache directory.

Petr Hosek via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 19 10:09:11 PST 2022


This revision was automatically updated to reflect the committed changes.
Closed by commit rGfd0782a37bbf: [DebugInfod] Prefix debuginfod cache directory (authored by phosek).

Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D117619

Files:
  llvm/lib/Debuginfod/Debuginfod.cpp


Index: llvm/lib/Debuginfod/Debuginfod.cpp
===================================================================
--- llvm/lib/Debuginfod/Debuginfod.cpp
+++ llvm/lib/Debuginfod/Debuginfod.cpp
@@ -52,6 +52,7 @@
   if (!sys::path::cache_directory(CacheDirectory))
     return createStringError(
         errc::io_error, "Unable to determine appropriate cache directory.");
+  sys::path::append(CacheDirectory, "llvm-debuginfod", "client");
   return std::string(CacheDirectory);
 }
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D117619.401307.patch
Type: text/x-patch
Size: 478 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220119/d8e81a22/attachment.bin>


More information about the llvm-commits mailing list