[Lldb-commits] [lldb] [lldb] Print a warning on checksum mismatch (PR #71459)

Greg Clayton via lldb-commits lldb-commits at lists.llvm.org
Mon Nov 6 21:46:45 PST 2023


================
@@ -443,6 +455,9 @@ class FileSpec {
   /// The unique'd filename path.
   ConstString m_filename;
 
+  /// The optional MD5 checksum of the file.
+  Checksum m_checksum;
+
----------------
clayborg wrote:

The DWARF 5 line table should have a file list where can we easily compute this and warn if needed. It would be fine to store an extra bit in lldb_private::FileSpec that specifies if the checksum has been verified or not, but we would like to keep lldb_private::FileSpec to be 24 bytes or less.

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


More information about the lldb-commits mailing list