[all-commits] [llvm/llvm-project] e27561: [lldb] Move MD5 Checksum from FileSpec to SupportFile

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Fri Jan 12 13:08:38 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e27561fc7de0231f2efdb750f2092c3ac807c1a3
      https://github.com/llvm/llvm-project/commit/e27561fc7de0231f2efdb750f2092c3ac807c1a3
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2024-01-12 (Fri, 12 Jan 2024)

  Changed paths:
    M lldb/include/lldb/Utility/FileSpec.h
    M lldb/include/lldb/Utility/FileSpecList.h
    M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
    M lldb/source/Utility/FileSpec.cpp
    M lldb/unittests/Utility/FileSpecTest.cpp

  Log Message:
  -----------
  [lldb] Move MD5 Checksum from FileSpec to SupportFile

When I added the MD5 checksum I was on the fence between storing it in
FileSpec or creating a new SupportFile abstraction. The latter was
deemed overkill for just the MD5 hashes, but support for inline sources
in the DWARF 5 line table tipped the scales. This patch moves the MD5
checksum into the new SupportFile class.




More information about the All-commits mailing list