[Lldb-commits] [lldb] [lldb] Teach LocateExecutableSymbolFile to look into LOCALBASE on FreeBSD (PR #81355)

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Mon Feb 12 21:18:42 PST 2024


================
@@ -141,6 +145,24 @@ std::optional<FileSpec> SymbolLocatorDefault::LocateExecutableSymbolFile(
       FileSystem::Instance().Resolve(file_spec);
       debug_file_search_paths.AppendIfUnique(file_spec);
     }
+#if defined(__FreeBSD__)
+    // Add $LOCALBASE/lib/debug directory, where
+    // LOCALBASE is usually /usr/local, but may be adjusted by the end user
----------------
JDevlieghere wrote:

Comments in LLDB/LLVM should end with a period. 

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


More information about the lldb-commits mailing list