[Lldb-commits] [lldb] Revert "[lldb] Read Checksum from DWARF line tables" (PR #71864)

via lldb-commits lldb-commits at lists.llvm.org
Thu Nov 9 12:44:26 PST 2023


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-lldb

Author: Jonas Devlieghere (JDevlieghere)

<details>
<summary>Changes</summary>

Reverts llvm/llvm-project#<!-- -->71458 as it might have caused cross-project-test failures. 

---
Full diff: https://github.com/llvm/llvm-project/pull/71864.diff


1 Files Affected:

- (modified) lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp (+1-8) 


``````````diff
diff --git a/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp b/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
index 79d44bce3d663b6..aabd83a194932ff 100644
--- a/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
+++ b/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
@@ -229,15 +229,8 @@ ParseSupportFilesFromPrologue(const lldb::ModuleSP &module,
         remapped_file = std::move(*file_path);
     }
 
-    Checksum checksum;
-    if (prologue.ContentTypes.HasMD5) {
-      const llvm::DWARFDebugLine::FileNameEntry &file_name_entry =
-          prologue.getFileNameEntry(idx);
-      checksum = file_name_entry.Checksum;
-    }
-
     // Unconditionally add an entry, so the indices match up.
-    support_files.EmplaceBack(remapped_file, style, checksum);
+    support_files.EmplaceBack(remapped_file, style);
   }
 
   return support_files;

``````````

</details>


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


More information about the lldb-commits mailing list