[Lldb-commits] [lldb] [llvm] Added settings for DEBUGINFOD cache location and timeout (PR #78605)

Kevin Frei via lldb-commits lldb-commits at lists.llvm.org
Thu Jan 18 12:36:19 PST 2024


================
@@ -54,6 +55,34 @@ class PluginProperties : public Properties {
     return urls;
   }
 
+  llvm::Expected<llvm::StringRef> GetCachePath() {
----------------
kevinfrei wrote:

String storage lives 40 lines lower (line 97) because, yeah, this bit me. The Debuginfod library takes a StringRef, and I found this was the most consistent way to deal with it. If you'd prefer me to switch this and cons up a StringRef before the API, I'm okay with that (just let me know in here)

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


More information about the lldb-commits mailing list