[Lldb-commits] [lldb] [lldb] Eliminate SupportFileSP nullptr derefs (PR #168624)

Augusto Noronha via lldb-commits lldb-commits at lists.llvm.org
Thu Nov 20 13:33:22 PST 2025


================
@@ -76,6 +77,8 @@ class SupportFile {
   const Checksum m_checksum;
 };
 
+typedef NonNullSharedPtr<lldb_private::SupportFile> SupportFileSP;
----------------
augusto2112 wrote:

I think we should rename the typedef to something else. If I'm reading code and come across `SupportFileSP` I'd just assume it's a regular shared pointer. `SupportFileNSP`?

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


More information about the lldb-commits mailing list