[Lldb-commits] [lldb] [lldb] Adjust ProtocolServer connection defaults. (PR #155714)

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Thu Aug 28 11:22:23 PDT 2025


================
@@ -161,6 +165,27 @@ FileSpec HostInfoBase::GetSystemPluginDir() {
   return g_fields->m_lldb_system_plugin_dir;
 }
 
+FileSpec HostInfoBase::GetUserHomeDir() {
+  llvm::call_once(g_fields->m_lldb_user_home_dir_once, []() {
+    if (!HostInfo::ComputeUserHomeDirectory(g_fields->m_lldb_user_home_dir))
+      g_fields->m_lldb_user_home_dir = FileSpec();
+    Log *log = GetLog(LLDBLog::Host);
+    LLDB_LOG(log, "user home dir -> `{0}`", g_fields->m_lldb_user_home_dir);
----------------
JDevlieghere wrote:

```suggestion
    LLDB_LOG(GetLog(LLDBLog::Host), "user home dir -> `{0}`", g_fields->m_lldb_user_home_dir);
```

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


More information about the lldb-commits mailing list