jasonmolenda added inline comments.

================
Comment at: 
lldb/examples/python/scripted_process/crashlog_scripted_process.py:28
                     if image not in self.loaded_images:
+                        if image.uuid == uuid.UUID(int=0):
+                            print(f"Note: Skipping null image")
----------------
One of the things I noticed working on https://reviews.llvm.org/D130813 was 
that our UUID class's IsValid() method detects if the object has any bytes or 
not, and I wonder if it should check for a null uuid value (all zeroes) and 
return IsValid()==false in that case. In my patch, I was reading a UUID out of 
a corefile and I needed to check if it was a null uuid before I copied the 
bytes into a UUID object to work around it.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D131038

_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to